DEMO: https://serene-chamber-89901.herokuapp.com/
Simple To-Do application using Node, Hapi.js framework (https://hapijs.com), MongoDB and Angular (MHAN?). There is a very simple hard coded login based on hapi-auth-cookie (https://github.com/hapijs/hapi-auth-cookie).
MongoDB: 3.4.4
Angular/CLI: 1.0.3
NodeJS: 7.10.0
HapiJS: 4.2.0
For more information about dependencies, please see the file package.json.
GET /todos?filter=<STATE>&orderBy=<FIELD>
PUT /todos
PATCH /todo/{id}
DELETE /todo/{id}
Auto-Generated server documentation using lout plugin (https://github.com/hapijs/lout):
You can import the file postman_config.json to Postman (https://www.getpostman.com/) or
account 01)
username: john and password: password;
account 02)
username: john2 and password: password;
node server or NODE_ENV 'production' node server
NODE_ENV 'production' will use a different database configuration instead of the local one, you must set the environment variables.
For more information about this application please see the file Server_Challenge.pdf.

