Simple AngularJS Example v1.5.0 using RESTAPI Category and Product , CURD operations, good for beginers used ngRoute, Controllers, Services, Directives etc
Dependency | Version | Install |
---|---|---|
NodeJS | 5.x.x | http://node.org |
npm | 3.x.x | http://node.org |
$ npm install
Used tingodb (embedded db) instead of mongodb.
$ npm install tingodb
Used Express Framework
- Allows to set up middlewares to respond to HTTP Requests.
- Defines a routing table which is used to perform different action based on HTTP Method and URL.
$ npm install express
- This is a node.js middleware for handling JSON, Raw, Text and URL encoded form data.
$ npm install body-parser
Used flow for Synchronization between collections joining purpose
$ npm install flow
- Download entire content in Angularjs1.5.0_SimpleExample_RESTAPI to a folder in your webserver
- Go to that server folder in command prompt
- Do the installations mentioned above
- Start using the index.html using http protocol through a browser
MIT