Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB

# MongoDB

This project demonstrates the creation and management of a MongoDB database named Codetribe. It is designed to help trainees understand key MongoDB concepts, such as databases, collections, and documents, while working with JSON-like data.

The database includes three collections: Facilitators, Trainees, and Projects, each containing sample data relevant to an educational or training environment.

Prerequisites

MongoDB installed on your system.

MongoDB shell (mongosh) set up and accessible in your terminal.

Run Locally

Clone the project

  https://github.com/SANEH2015/MongoDB.git

start MongDB

mongosh

Switch to a Database

  use Codetribe

Insert a document

  db.CollectionName.insertOne({...})

Veiw all document

  db.CollectionName.find().pretty()

List databases

  show dbs

List collections

  show collection

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors