This repo contains the backend API and database setup for a math quiz app.
- Duplicate
.env.exampleand rename the duplicate to.env. - Change variables as desired. Fill in the following variables:
DATABASE_PASSWORD
Instructions are for windows machines but they will be similar for linux and macOS
-
Download postgresql v16.1:
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads -
On the install postgresql wizard, install the instance on any unoccupied port.
Ensure you change the port settings to be the same inv1/.envforDATABASE_PORT.
- Production -
requirements/prod.txt
Contains libraries needed to run the app - Development -
requirements/dev.txt
Contains libraries needed to develop the app as well as the production libraries - Testing -
requirements/test.txt
Contains libraries needed to test the app as well as the production libraries - All -
requirements/all.txt
Contains all of the above