#Peer review in Git Reset the master in history and make a pull request
look at the code and add comments
git reset example --hard git log git push -f origin master
review and add comments on the code
Final Project steps
1.Start with Wireframes 2.ERD/Trello
#Node JS Node js is a runtime
Installing Express JS npm install express -g rm -rf node modules
This code wil give us express command that scaffolds npm install -g express-generator
Generating templare for awesomeanswers express AwesomeAnswers
This command is like bundle in Rails npm install
This library will reolad the page npm install nodemon -g After run nodemon bin/www
mongo db
if it gives an error dir not existing run the code on console to create the dir sudo mkdir /data sudo mkdir /data/db
this will make you the owner of the directory sudo chown DHK /data/db
this command will get the mongoose running for you npm install mongoose --save
embadding is putting model into another one
npm install method-override --save
git add -A removes the changed file