CSC 308/309 - LeContacts by William Last, Colin Bruins, Diego Nieves, Jeffrey Cheung, Peter Chinh
- Prerequisites: Make sure npm, Node.js, and Git are installed
- Clone the project using "git clone https://github.com/peterchinh/my-contacts"
- Run "npm install"
- "cd backend" and create a .env file
- While still in the backend, run "npm run dev" to load the backend locally
- "cd ../" and run "npm start" to load the frontend
- git pull
- git checkout -b <name_of_branch>
- change code
- npm run lint
- git add .
- git commit -m "Action: Desc"
- git push -u origin <name_of_branch>
- Pull Request tab on github
- Find pr, fill out template
- Screenshot of work if applicable
- Link pr to corresponding issue
- request reviewer to check code
- Merge code if approved
- Before Committing:
- Run "npm run format"
- Run "npm run lint"
- Unit/Integration Tests
- "cd backend"
- Run "npm install supertest"
- Run "npm run test"
- Acceptance Tests
- Run "npm install cypress"
- Run "npx cypress open" or "npx cypress run"
- Backend needs to be running, or else one of the tests will fail.

