Home

Awesome

RESTNode - REST API samples using Node.js with MongoDB and Mongoose

<b>Blog Posts</b>

<ul> <li>Introduction - http://weblogs.asp.net/shijuvarghese/archive/2012/05/19/building-a-simple-rest-api-using-node-js-with-mongodb-and-mongoose.aspx</li> </ul>

<b>Run the the following commands to install Node modules express and mongoose</b>

npm install express

npm install mongoose

<b>To run the app</b>

<ol> <li>Run the MongoDB server (Run mongod.exe)</li> <li>Node Server.js</li> <li>Browse the app from http://localhost:8000/ </li> </ol>