mvandermeulen / fastapi-react-docker

Full stack demo app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Full stack demo app

License:MIT License


Languages

Language:TypeScript 55.5%Language:Python 36.8%Language:Less 2.7%Language:Dockerfile 1.8%Language:HTML 1.7%Language:Mako 0.7%Language:Shell 0.5%Language:Makefile 0.4%