- Notifications
You must be signed in to change notification settings - Fork93
Sample FastAPI project that uses async SQLAlchemy, SQLModel, Postgres, Alembic, and Docker.
License
NotificationsYou must be signed in to change notification settings
testdrivenio/fastapi-sqlmodel-alembic
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Sample FastAPI project that uses async SQLAlchemy, SQLModel, Postgres, Alembic, and Docker.
Check out thepost.
$ docker-compose up -d --build$ docker-composeexec 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
About
Sample FastAPI project that uses async SQLAlchemy, SQLModel, Postgres, Alembic, and Docker.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.