Sails.js example for the TodoMVC project
A simple todo list application using:
- Backend: Sails.js with socket.io (websockets), waterline, mysql
- Frontend: JQuery, Handlebar.js
Learn more about Sails.js at http://sailsjs.org/.
$ sudo npm -g install sails$ npm installEdit config/adapters.js:
development: {module: 'sails-mysql',host: DB_HOST,user: DB_USERNAME,password: DB_PASSWORD,database: DB_NAME,pool: true,connectionLimit: 2,waitForConnections: true}$ sails liftWhen the server is started, you can visit the app at: http://localhost:1337
We would like to thank Sindre Sorhus for the TodoMVC templates and the JQuery Example code we had adopted.