/nodejs-crud-with-mongodb

NodeJS Sample CRUD app with mongodb

Primary LanguageJavaScript

nodejs-crud-with-mongodb

NodeJS Sample CRUD app with mongodb

To run this application locally:

  1. Install mongodb
  2. Start the mongodb server (with sample paths): c:\node\bin\mongod dbpath --c:\node\data
  3. In a separate command window, launch the app: npm start
  4. Browse to http://localhost:3000/products. You should be able to perform full CRUD operations against the mongodb database. API methods for get and add are included