A sample application built with SailsJS which sits on top of NodeJS and Express. It also uses AngularJS, Angular Material for the UI and MySQL for the Database.
This application so only for presentation purpose and not production ready.
Click here for the application demo.
- Clone the complete repo into your computer
$ git clone /~https://github.com/skavinvarnan/SailsTodo.git
- cd to the project directory
$ cd SailsTodo
- Install all project dependency
$ npm install
- Install Javascript and Css dependency
$ bower install
- Point MySQL connection here
mySQL: {
adapter: 'sails-mysql',
host: 'HOST_NAME',
user: 'USERNAME',
password: 'PASSWORD',
database: 'DATABASE_NAME'
}
-
Switch the comments to match "mySQL" in TodoSails.js and User.js
-
If you dont have your own MySQL server ignore point 5 and 6
-
Run the app
$ sails lift
- Navigate to http://127.0.0.1:1337/ on your browser
Tools | Version |
---|---|
NodeJS | 4.2.4 |
npm | 2.14.12 |
bower | 1.7.2 |
MySQL | 5.7 |
Google Chrome | 47 |
OS(Ubuntu) | 15.10 |
This was the environment i developed the application. Any newer version should work fine
This app is just a sample project if you find any bugs in it please open and new issue!. I'll be happy to fix it.