it contains code example for using MongoDB + Express + NodeJS
- clone this repo
- on Terminal, go inside the folder and type "npm install"
- this is developed using a Mac + Sublime Text 2 + iTerm
- make sure you install mongodb via "brew install mongo"
- open Terminal, go to app folder
- type "npm start"
- open another Terminal window, go to app folder, type "mongod --dbpath data/" to start the mongo server using the "data" folder
- open browser, go to "http://localhost:3003/"
- http://localhost:3003/users » user list
- http://localhost:3003/users/new » add new user to list
some code are from tutorial on http://cwbuecheler.com/web/tutorials/2013/node-express-mongo/ but some changes needed because of the Express updates