Home - aigolek/mongodb GitHub Wiki

Welcome to the mongodb wiki!

Install mongoDB

1 download https://www.mongodb.com/download-center?jmp=nav#community

2 create mongo-data (db data) folder in user folder

3 command=> cd mongo/bin

4 RUN DB SERVER=> ./mongod --dbpath ~/mongo-data

5 to run mongo command => ./mongod

or you may download https://robomongo.org/ for db interface

6 => mkdir node-todo-api

7 => cd node-todo-api

8 => npm init

9 => npm install [email protected] --save