Skip to content

App build on top of NodeJS + SailsJS + AngularJS + MySQL + Angular Material

Notifications You must be signed in to change notification settings

skavinvarnan/SailsTodo

Repository files navigation

SailsTodo

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.

Demo

Click here for the application demo.

Prerequisites

NodeJS

Bower

Compile Instruction

  1. Clone the complete repo into your computer
$ git clone https://github.com/skavinvarnan/SailsTodo.git
  1. cd to the project directory
$ cd SailsTodo
  1. Install all project dependency
$ npm install
  1. Install Javascript and Css dependency
$ bower install
  1. Point MySQL connection here
mySQL: {
    adapter: 'sails-mysql',
    host: 'HOST_NAME',
    user: 'USERNAME',
    password: 'PASSWORD',
    database: 'DATABASE_NAME'
  }
  1. Switch the comments to match "mySQL" in TodoSails.js and User.js

  2. If you dont have your own MySQL server ignore point 5 and 6

  3. Run the app

$ sails lift
  1. Navigate to http://127.0.0.1:1337/ on your browser

Development environment

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

Bugs

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.

About

App build on top of NodeJS + SailsJS + AngularJS + MySQL + Angular Material

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published