Research MongoDB - mikehov/Dating-app GitHub Wiki
MongoDB Research
Mike Hovenier | Tech-4
What is MongoDB
MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era. MongoDB is a document database, which means it stores data in JSON-like documents. The engine supports JSON and other NoSQL documents. NoSQL means there is basically no structure, you can make your own relations.
Normally if you have a database, its all stored at one place in one big column of data. If you have just a little bit of data its oki, but if you have 18 rows of information that can maybe more in te future, it gets out of hand quickly. That's why MongoDB is really useful. They are working with documents that have information of the user, so one user can have a bunch, but maybe the other user has just a little.
MongoDB provides some really useful features that you other wise have to build for yourself:
- Fault Tolerance: This is basically if one server goes does another server will pick it up.
- Scalbility: You don't have to upgrade your servers, you can just use multiple servers for the result.
- Data Near Users: You keep the data near the users for quick access.
What other databases are they?
There alot of databases to choose from:
- Oracle 12c
- MySQL
- Microsoft SQL Server
- PostgreSQL
- MariaDB
- DB2
- SAP HANA and more.
We are learning MongoDB so we don't have to learn Python (an program language), also its easy and fast to use.
What is DBaaS?
DBaaS stands for Database as a serves. It allows you to store your data in a cloud instead of locally on your computer.
What is Mongoose?
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Mongoose supports both promises and callbacks.
Source
Arsenault, C. (2017, April 20). The Pros and Cons of 8 Popular Databases. Retrieved May 30, 2020, from https://www.keycdn.com/blog/popular-databases
MongoDB. (2018, February 13). MongoDB in 5 Minutes with Eliot Horowitz [Video file]. In YouTube. Retrieved from https://www.youtube.com/watch?v=EE8ZTQxa0AM&t=189s
MongoDB. (n.d.). Connect to MongoDB. Retrieved May 30, 2020, from https://docs.mongodb.com/guides/server/drivers/
MongoDB. (n.d.). The most popular database for modern apps. Retrieved May 30, 2020, from https://www.mongodb.com/
Mongoose. (2020, May 25). npm: mongoose. Retrieved May 31, 2020, from https://www.npmjs.com/package/mongoose