This is the backend to a full stack project for class FS03.
Set up your virtual env.
$ python -m venv .venv
# then activate it
$ source .venv/bin/activate
Install dependencies
$ pip install pipenv
$ pipenv install # to install the deps in Pipfile
Set up a database using Docker
$ docker run --name woofrdb -d -p 5445:5432 -e POSTGRES_PASSWORD=secret postgres
Then, create a .env
file in the root of the project, and add:
DATABASE_URL=postgresql://postgres:secret@localhost:5445/postgres
JWT_SECRET_KEY=b0ae157027004f9a1eabb7214b84cc93340efd00075bc9895ba91ccbab841aec