This is a video training series to get you up and running with node js in no time.

Just watch the videos below and you will be create amazing node js apps in no time.

1) Run MongoDB as a service so it can continually run in the background.

In your command prompt, type:

mongod --directoryperdb --dbpath C:\mongodb\data\db --logpath C:\mongodb\log\mongo.log --logappend --rest --install

Now your command prompt should look like:

C:\mongodb\bin\mongod --directoryperdb --dbpath C:\mongodb\data\db --logpath C:\mongodb\log\mongo.log --logappend --rest --install n

Next hit: enter

To start the service, type in: net start MongoDB

Next hit: enter

2) To see all of the  MongoDB databases that are already installed

Type in: monog (your command prompt will look lik: C:\mongodb\bin>mongo)

Next hit: enter

Type in: show dbs (your command prompt will look lik: > show dbs)

Download Part 2






Name

Email

Website

Comment

Post Comment