ReST-API
v1.0.0
Published
A simple RESTFul API created using nodejs that talks to Mongodb database
Downloads
4
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
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