npm installAfter installing start mongodb service by defining a custom db directory path (uses /data/db/ as default but has permission restrictions on mac osx)
mongod --dbpath /Users/[user]/data/dbnpm startor
node server.js
what we need:
node.js, npm, and mongoDB use homebrew on osx to install mongodb at least
brew install node--> will install NPM too
brew install mongodbhttps://docs.mongodb.com/manual/installation/
url HTTP Method Operation
/api/tasks GET Get an array of all tasks
/api/tasks/:id GET Get the task with id of :id
/api/tasks POST Add a new task and return the task with an id attribute added
/api/tasks/:id PUT Update the task with id of :id
/api/tasks/:id DELETE Delete the task with id of :id