Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 686 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 686 Bytes

Build Simple CRUD Operation Using MongoDB, NodeJS, ExpressJS, ExpressHandlebars

Document

  • Clone this repo: git clone https://github.com/SambathSams/CRUDSample.git
  • Install dependencies using npm javascript package manager: npm install
  • Start MongoDB server on port:27017 in terminal : mongod --port 27017 --dbpath <YOUR PATH>
  • Open MongoDB Compass. Create Local MongoDB Database as follows : DatabaseName: EmployeeDB and CollectionName: employees
  • Start node server with nodemon: nodemon server.js (or) Simply use node server.js
  • Tune to url: http://localhost:3000/employee