VladTM23 / MongoModels

0 stars 0 forks source link

MongoModels

Run npm install

Run node index.js

In order to see the DB and the collections:

1) Option 1: Install MongoDB Compass

2) Option 2: Run you Mongod server, write mongo in another tab

Then:

show dbs

use handyManDB

show collections

You can check out any collection with:

db.collectionName.find() -> eg. db.jobs.find() will show all jobs.