Backend for https://www.social-census.com/
- Requires
firebasePrivateKey.json
to be included in/src/firebase
- Modify
.env.example
and rename to.env
- To run development build,
docker-compose up --build
- Enter the server container with
docker exec -ti server /bin/sh
, and runnpx prisma db push
to create the tables in Postgres. - To seed the db with questions, run
npx prisma db seed
with the desired questionBank.csv in the src/prisma/ folder