This is a web application that we are creating for Projects Course 2910 in the CIT program at BCIt. It will help users to create lists for future purchases Implements mongodb and is programmed in Node JS, html, css. This is our main/live repository
Dependencies:
- Install Node
- Go to the right directory to install node_modules
- npm install express --save
- npm install --save handlebars
- npm install file-system --save
- npm install mongodb --save
- npm install -g jsdoc
- npm install client-sessions
Getting the documentation:
- navigate to the repository directory
- jsdoc server.js
How to add a file and commit it in GitHub:
- git status
- git add .
- git commit -m "message"
- git push origin master
- git fetch upstream
- git merge upstream/master
Merging the main repository to your local repository:
- open git bash and move to the correct directory
- git fetch upstream
- git merge upstream/master
- merge any conflicting changes in an editor
- git push origin master
Unit Testing:
- We are using "Jest" to test our code
- Download the following packages below
- npm install --save-dev jest
- npm install --save-dev chai
- npm install --save-dev chai-http