This repository contains code that is created in my course, REST APIs with Flask and Python.
You can take the course here: https://go.tecla.do/rest-apis-sale
The code is divided in folders, one for each section of the course which contains code.
The code is in files numbered between 1 and 11, covering concepts ranging from beginner to advanced.
- Variables
- Methods
- Lists, tuples, and sets
- If statements
- List comprehension
- Dictionaries
- Classes and objects
- Static and class methods
- Args and Kwargs
- Passing functions as arguments
- Decorators
The code in this section includes a simple Flask app and a HTML and JavaScript file which calls the Flask app endpoints.
The code in this section includes a Flask app which is an API that represents items. It also includes user registration and authentication.
The code in this section extends the last section by adding persistent storage of Items to a SQLite database.
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.