Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.92 KB

README.md

File metadata and controls

48 lines (39 loc) · 1.92 KB

Full stack demo app

Uses async DB connections.

Database:

Backend:

Frontend:

Tools:

DB prepare

FastAPI doesn't create db tables on start, use alembic migrations for it.

# See Makefile
make migrations m="migration message" # create migrations
make migrate # apply migrations to db
make downgrade # downgrade last migration

Resources

  1. article: FastAPI with Async SQLAlchemy, SQLModel, and Alembic
  2. github: FastAPI, Strawberry