Skip to content

GaurabAryal/swagifyapi

Repository files navigation

Make sure you export these two env vars:

export SECRET_KEY="foobar"
export DATABASE_URL="postgresql://localhost/swagify"

To run the api server, use the following command:

python manage.py runserver

To perform DB migrations:

python manage.py db init
python manage.py db migrate
python manage.py db upgrade

Get a read of DB rows:

SELECT COUNT(*) FROM item;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published