Skip to content

Etriii/fastapi-supabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install this following:

pip install fastapi uvicorn gunicorn sqlmodel psycopg2-binary httpx

or 

pip install -r requirements.txt

To run migrations:

alembic revision --autogenerate -m "<migration_name>"

In Windows: alembic revision --autogenerate -m "Migration Message"

alembic upgrade head

In Windows: python -m alembic upgrade head

To run seeders:

python -m app.migrate_fresh_and_seed
note: it will reset your database data -------------------//////-------------------

To run the app:

uvicorn app.main:app --reload

In Windows: python -m uvicorn app.main:app --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published