Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample FastAPI project that uses async SQLAlchemy, SQLModel, Postgres, Alembic, and Docker.

Want to learn how to build this?

Check out thepost.

Want to use this project?

$ docker-compose up -d --build$ docker-composeexec web alembic upgrade head

Sanity 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

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp