Skip to content

πŸƒ What is MongoDB?

Romain edited this page Apr 19, 2021 · 2 revisions

Document-based database πŸ“ƒ

First of all, MongoDB is a completely document-based database: a powerful way to easily and quickly save and retrieve your data. This database also offers a powerful architecture to support large volumes of data and traffic. MongoDB also provides many easy-to-use tools for developers (as demonstrated by this addon)! One of the biggest advantages of using MongoDB is that you don't have to learn SQL, the language required to manage data from databases like MariaDB.

Your documents will be presented in this form (in JSON):

{
  "name": "Romitou",
  "coins": 480,
  "ranks": [
    {
      "id": 1,
      "name": "MongoSK developer"
    },
    {
      "id": 2,
      "name": "The most handsome"
    }
  ]
}

Database organization πŸ—ƒ

These documents are stored in a collection. A collection groups together a multitude of documents, as if it were a list. Then, to better organize your Mongo server, your collections belong to databases. To summarize, databases contain a multitude of collections, which can themselves contain a mutlitude of documents. Here is an example of a MongoDB database organization:

Romitou's Mongo βš™οΈ
 β”‚
 β”œβ”€β–Ί minecraft πŸ“¦
 β”‚   β”‚
 β”‚   β”œβ”€β–Ί players πŸ“‚
 β”‚   β”‚
 β”‚   β”œβ”€β–Ί homeLocations πŸ“‚
 β”‚   β”‚
 β”‚   └─► chatLogs πŸ“‚
 β”‚
 └─► website πŸ“¦
     β”‚
     β”œβ”€β–Ί users πŸ“‚
     β”‚
     β”œβ”€β–Ί transactions πŸ“‚
     β”‚
     └─► shopItems πŸ“‚

βš™οΈ Server | πŸ“¦ Database | πŸ“‚ Collection

Once you know all this, you are ready to continue the wiki! If you still have questions, don't hesitate to ask for help (check the footer).

🏠 Home

πŸƒ What is MongoDB?

πŸš€ Get started!

πŸ“œ First steps


Do you need help? 🦸

If you need help, look at the links in the footer and don't get stuck!

Clone this wiki locally