一覧へ戻る
Sample FastAPI project that uses async SQLAlchemy, SQLModel, Postgres, Alembic, and Docker.
- star 数
- 562
- watcher 数
- 11
- fork 数
- 90
- issue 数
- 5
- 最終更新
- 2023/08/27
Sample FastAPI project that uses async SQLAlchemy, SQLModel, Postgres, Alembic, and Docker.
Sample FastAPI project that uses async SQLAlchemy, SQLModel, Postgres, Alembic, and Docker.
Check out the post.
$ docker-compose up -d --build
$ docker-compose exec web alembic upgrade headSanity check: http://localhost:8004/ping
Add a song:
$ curl -d '{"name":"Midnight Fit", "artist":"Mogwai", "year":"2021"}' -H "Content-Type: application/json" -X POST http://localhost:8004/songs
Get all songs: http://localhost:8004/songs