https://github.com/itswadesh/simple-restful-api-angularjs
A simple RestAPI which interacts with AngularJS web application
https://github.com/itswadesh/simple-restful-api-angularjs
angularjs mongodb nodejs rest-api
Last synced: about 1 month ago
JSON representation
A simple RestAPI which interacts with AngularJS web application
- Host: GitHub
- URL: https://github.com/itswadesh/simple-restful-api-angularjs
- Owner: itswadesh
- Created: 2015-09-01T13:26:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-23T04:42:26.000Z (over 9 years ago)
- Last Synced: 2025-04-10T23:30:49.916Z (12 months ago)
- Topics: angularjs, mongodb, nodejs, rest-api
- Language: JavaScript
- Homepage: http://angularcode.com
- Size: 261 KB
- Stars: 16
- Watchers: 7
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Creating ReSTful API using NodeJS and consuming in AngularJS
Create simple ReST API using NodeJS, MongoDB and consuming in a application created with AngularJS.
The full tutorial can be foud @ http://angularcode.com/creating-rest-api-using-nodejs-and-consuming-in-angularjs/
#### Requirements
Install the following 2 softwares
* Node http://nodejs.org/
* MongoDB https://www.mongodb.org/
#### Install
To start the application, run the following 2 commands in your terminal (command prompt).
Prefix sudo if working in linux machine
Start mongodb
-----------------------
Windows
browse into your mongodb installation folder and into the bin directory
Run mongod.exe
C:\Program Files\MongoDB 2.6 Standard\bin\mongod.exe
linux
./mongod
* npm install
* node server
Open your browser and point to http://localhost:3000