This repository contains code that is created in the Python rest-api course followed at https://www.udemy.com/course/rest-api-flask-and-python/ The course repository is https://github.com/tecladocode/rest-api-sections
The code is divided in folders, one for each rest-api Case.
The code structure of the last case is describe in the e-book at https://arac.tecladocode.com/
The code in this section includes a Flask app which is an API that represents items. It also includes user authentication.
The code in this section extends the last section by adding persistent storage of Items to a SQLite database and user registration.
The code in this section extends the previous section by replacing the manual integration with SQLite, with SQLAlchemy—an ORM (Object-Relational Mapping)—which allows us to easily replace SQLite with something like PostgreSQL or MySQL.
The code in this sections extends the previus section using jwt extended. With jwt exteded the api can handle login, token refresh, logout ... If you want to test you can import all the requests in postman from the file postman_collection.json The structure of the code is explain in the e-book at https://arac.tecladocode.com/