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

code4mk/fastapi-graphql-strawberry-template

Repository files navigation

Database migration process with Alembic

Alembic is a database migration tool for SQLAlchemy.

revision (migration)

you can use the following command to create a new migration file.

alembic revision --autogenerate -m "initial project"

this will create a new migration file in the alembic/versions directory.

upgrade (migrate)

you can use the following command to migrate the database.

alembic upgrade head

Running the Project

To start the application:

./run-project.sh

The application will be available at http://127.0.0.1:8000 in your browser.

The graphql playground will be available at http://127.0.0.1:8000/graphql in your browser.

About

Production ready fastapi graphql template with strawberry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /