Basic CRUD operations with NodeJS and MongoDB
Run npm install
to install dependencies.
Start MongoDB and run npm start
to start server. Use nodemon
to automatic restart server upon changes.
Check out complete tutorial here.
http://webmpires.net/index.php/blog/working-with-mongodb-in-nodejs