##NodeJS restful application that stores data to Atlas:MongoDB
###Requirements: NodeJS If you wish to use a diffrent db then please update the db.js file with the details you prefer.
###Clone: git clone https://github.com/marten790/user-and-task-manager.git
npm install
node app.js
Please find API calls below. Postman works to test.
http://hostname/api/users
POST {"username":"jsmith","first_name" : "John", "last_name" : "Smith"}http://hostname/api/users/{UserId}
PUT {"first_name" : "John", "last_name" : "Doe"}GET http://hostname/api/usersGET http://hostname/api/users/{id}http://hostname/api/users/{user_id}/tasks
POST {"name":"My task","description" : "Description of task"}http://hostname/api/users/{user_id}/tasks/{task_id}
PUT '{"name":"My updated task"}'DELETE http://hostname/api/users/{user_id}/tasks/{task_id}GET http://hostname/api/users/{user_id}/tasks/{task_id}GET http://hostname/api/users/{user_id}/tasks