'brew install node' will install Node.JS on Macs with Homebrew
'npm install' will download the dependencies and testing framework
'npm test' will run the tests
'brew install mongodb' will install MongoDB on Macs with Homebrew
'mkdir -p /data/db' to create monogod directory
'sudo chown -R id -un
/data/db' to give permissions
'mongod' to start mongo process
'node ./src/server/app.js' to start the app
'node demo.js' to start some examples
demo.js can be modified to run any use case that you want.
check out https://www.npmjs.com/package/request for the documentation
vikasboddu / snippet-service Goto Github PK
View Code? Open in Web Editor NEWBackend web service for snippets