Olawale Aladeusi blog post about building Application Programming Interface in Python. This shall be a very easy to learn path in creating RESTFUL API using Python and Flask micro-framework.
In the tutorial he takes on the journey of allowing all four basic CRUD (Create, Read, Update and Delete) operations. Flask is a micro web framework written in Python. It is called a micro-framework because it does not require any specific libraries or tools.
Author also uses PostgreSQL relational database for this project. You will get information how to:
- Set up project virtual environment using pipenv
- Installing Project Dependencies
- How to create meaningful project structure
- Database basics
- Flask configuration
- Model app
Detailed steps with explanation of the code examples is provided. You should have enough information about configuring Flask environment, creating models, making and applying migrations to the database, grouping resources using Flask blueprint, validating the authenticity of a user using JWT token and also complete set up for all RESTful endpoints.
Excellent intro into Python’s Flask!
[Read More]