accedo-server
Getting Started
Prerequisites
- Git
- Node.js and NPM >= v0.12.0
- Ruby and then
gem install sass
- Grunt (
npm install --global grunt-cli
) - MongoDB - Keep a running daemon with
mongod
Developing
-
Run
npm install
to install server dependencies. -
Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running -
Run
grunt serve
to start the development server. It should automatically open the client in your browser when ready.
Build & development
Run grunt build
for building and grunt serve
for preview.
Testing
Running npm test
will run the unit tests with karma.
Reminder
To allow the access from the outside, you have to set the ip as '0.0.0.0' from server/config/environment/index.js line No. 25 ip
Demo url
http://accedotv-client.eastasia.cloudapp.azure.com:9000/v1/history GET <-- Fetch all the history data
http://accedotv-client.eastasia.cloudapp.azure.com:9000/v1/history POST <-- Insert History data into history db