Welcome to Ed2Ti Blog.

My journey on IT is here.

Building a REST API Using Python and Flask

- Posted in Programing - Python by

College: Trebas Institute
Professor: Iyad Koteich

It's impressive how fast and easy you can start your won API solution using Flask and Python.

In this post, I want to share with you my experience using tools and concepts to create a simple API solution.

Tools:

  • Phyton (https://www.python.org/)
  • Flask (https://flask.palletsprojects.com/en/2.2.x/)
  • SQLite (https://www.sqlite.org/)
  • Postman (https://web.postman.co/)

In this restful API I'm using the verbs:
* POST - To insert information into a database
* GET - To recover information from a database.
* PUT (I'm not using) - To update information into a database.
* DELETE (I'm not using) - To delete information from a database.

The next objective is to create a full CRUD API.
All the codes are here on my Git repository: https://github.com/ed2ti/python_flask_db