REST APIs with Flask and Python
This repository contains code that is created in my course, REST APIs with Flask and Python.
The code is divided in folders, one for each section of the course which contains code.
Section 2
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
Section 3
The code in this section includes a simple Flask app and a HTML and JavaScript file which calls the Flask app endpoints.
Section 4
The code in this section includes a Flask app which is an API that represents items. It also includes user registration and authentication.
Section 5
The code in this section extends the last section by adding persistent storage of Items to a SQLite database.
Section 6
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.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
