Based on Restify 4.0 and Sequelize 3.14. Tested on Node.js 0.10 from SCL with Mariadb 5.5.
Do npm install
do download dependencies.
Run as node app.js
-
Don't do pagination yet.
-
Database connection parameters hardcoded (as a novice developer would usually do).
-
There is a lot of boiler plate code in the controller and the model. There should be a way to have more centralized error handling.
-
Have mysql database initialized and running, and front end deployed to apache and running
-
Access as http://localhost:30000/todo