
In this tutorial we learn to create REST Apis with fastapi. We are going to use:
FastApifor creating APIsPostgreSQLas a databaseSQLAlchemyas an ORM toolAlembicas a migration tool
Tech and tools used
- Linux os (you can use window or mac also. But with windows your commands might be a little different. I suggest you to use
GitBashin windows) - I am using
uvto create project, you can download it from here - Python 3.12
- VS Code (code editor) with extension
Pythonby microsoft - PostgreSQL (I am using it in a docker container, you can use installed version too)
The reason I am using uv, because it is pretty fast and I can easily manage dependencies with it.