Overview: Flask is a web application framework written in Python and will let us create our Rest APIs. Flask application are built around requests and responses. The request is what browser does and there is a computer somewhere on the internet that is receiving the request and it decides what to do with it and returns a response.
Install: Go to terminal on Mac and write:
pip3 install flask
I will be using Jupyter notebook to code. So just start the notebook from terminal and create a new file.
Now when we run it we will see “Hello!! World” in our browser. 127.0.0.1 is a IP address which is reserved for your computer.
So, this was your first flask application in 2 minutes. In the next tutorial I will show you how to create Get, Post and Delete requests in Flasks.