Hackernoon logoHow to set up FastAPI, Ormar, and Alembic by@amalshaji

How to set up FastAPI, Ormar, and Alembic

[FastAPI] is the 3rd most popular python web framework. [Ormar] is a mini-async ORM for python. [Pydantic] is built on top of [Alembic] for migrations. Pydantic is very useful for your FastAPI application. You can create an Ormar model with three basic fields, and use the same as the database. You're modifying a single line to create a single database table and create a database. Database and models are easy to use in the project.
image
Amal Shaji Hacker Noon profile picture

@amalshajiAmal Shaji

Tags

Join Hacker Noon

Create your free account to unlock your custom reading experience.