MongoDB > Getting Started with Mongo
Getting Started with Mongo
Before getting started, please make a Mongo account.
Before we get started with Mongo, we need to understand how Mongo works. Below will be a explaination on how it works.
Figure: Explaining How Mongo organizes their components
Project | A logical grouping of resources. A project contains one or more clusters. |
Cluster | A set of MongoDB servers (replica set or sharded cluster). Think of it as your actual “database server” environment. |
Database | Inside each cluster, you can create multiple databases. |
Collection | Inside each database, you have collections (equivalent to tables in relational DBs). |
Documents | JSON-like records inside a collection. |
Optional: Install MongoDB Compass to view your data without going to the website.
🙌 Congrats, let's get you set up with MongoDB in your project!