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.
MongoDB installed on your system.
MongoDB shell (mongosh) set up and accessible in your terminal.
Clone the project
https://github.com/SANEH2015/MongoDB.gitstart 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