Photo by Chris Ried on Unsplash

Starting my journey with python + flutter — Part 1

Jakes
2 min readFeb 15, 2020

--

One of the most unique programming video in youtube is Flutter with python note app by Kalle Halden.The first time i watched his video was just astonished and also confused.

I asked my self question is it possible to connect a flutter app to a python web app.So i decided to give it a try at first i thought that it to was just writing a python script and so i started learning python.

I won’t lie python was a different language and so it was very interesting to learn python.After several weeks of learning python i decided to give it a try.

I wrote some scripts and tried to connect it to my flutter app but it didn’t work so i had to some research for many and many days.Until i came across some few interesting things in python.

In python there a two frameworks used to create api’s .

  1. Django
  2. Flask

I started with Django but it was really difficult to understand dure to many files and scripts which were already there.So basically i couldn’t work with something like that and also i did some bit of digging in django and found django is mostly used by full stack developers so i couldn’t use it.

So i was left with flask which actually worked perfectly and create some simple api which are seen as json data.Flask was actually very simple compared to django.One thing i loved with flask you could have at least one file to get started.

Before we start creating the app first make sure you install the followings things:

  1. Python
  2. Post man

Post man helps us to test our Api and also debug.

Other important things are :

Pip which is very important.

After you have write this lines in your command line:

First install flask as you see below :

pip install flask

then install flask_restful by writing:

pip install flask_restful

If you have done all this we are ready to go.See you in the next part of our Journey.

https://medium.com/@johnkinyanjuiwanjiru/python-flutter-part-2-4689f15d2072

--

--

Jakes

Developing apps and more stuff is a passion.I develop when listening music because programming is like writing a hit song.Will you write yours?