docker-compose up --build
-
You need MySQL installed and running on your machine
- https://dev.mysql.com/downloads/installer/ (download the second option/the file thats bigger)
-
create a .env file into the main "ptracker" directory
-
You should then seed the database with
npx prisma migrate reset
(from thebackend
folder)- If you see an error about google client id, follow this tutorial to create a google client id: https://www.balbooa.com/gridbox-documentation/how-to-get-google-client-id-and-client-secret
-
If you get this error,
-
App runs on port
3000
- Start with
npm run dev
in a separate terminal window
- Start with
-
Navigate to
http://localhost:3000
- run "npm i mocha"
- You can test the app with
npm run test