- Run
git clone <repo-link> - Run
cd server - Run
npm install
-
Create an
.envfile withinserver& add the following:PORT=<pick a port> ## use elephant SQL for DB_URL DB_URL=<link-db>
-
Run
npm run seed-dbto setup the database
- Run
npm run devto start the API & the app should run on3000(if that's the port you've set in the.envfile)
Note: The docker-compose.yaml file is needed to setup a test database when implementing tests.