Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 536 Bytes

File metadata and controls

10 lines (7 loc) · 536 Bytes

SimpleExpressMongoDB

Simple CRUD demonstration of MongoDB implementation with Monk.

Note:

  1. Install MongoDB, please visit this link for more information: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu
  2. Trun off MongoDB service as root, type on shell: yourdirectory:~$ sudo service mongod stop
  3. Change the path of DB, type on shell: yourdirectory:~$ mongod --dbpath=[$yourdirectory]/SimpleExpressMongoDB/data
  4. Start again MongoDB service as root, type on shell: yourdirectory:~$ sudo service mongod start