Skip to content

This repository contains the nodejs practice projects

Notifications You must be signed in to change notification settings

CHINMAYVIVEK/MEAN-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MEAN-practice

This repository contains the practice projects for

  • MongoDB
  • Express
  • Angular
  • Nodejs

MongoDB installation

MongoDB Installation guide for Ubuntu

MongoDB Command

  • To Start Mongo DB sudo service mongod start
  • To Stop Mongo DB sudo service mongod stop
  • To Restart Mongo DB sudo service mongod restart
  • To Check Mongo DB Status sudo service mongod status

Working with MongoDB

  • mongo (Get in DB Terminal)
  • show dbs (Show all database)
  • use ChinmayDB (switched to db ChinmayDB)
  • show collections (Show all collections)
  • db.users.find( {} ) (Retrieve all documents in the users collection)