A simple RestAPI which interacts with AngularJS web application
JavaScript CSS HTML
Latest commit ac53651 Nov 22, 2016 @itswadesh committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
models First commit Sep 1, 2015
public Added placeholders for input Nov 15, 2015
routes Fixed default button of form submit Sep 6, 2015
.gitignore First commit Sep 1, 2015
README.md Update README.md Nov 23, 2016
package.json Added openshift support Nov 15, 2015
server.js Added openshift support Nov 15, 2015

README.md

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

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