Using Firebase Cloud Firestore
When using Firebase, you can choose between two database options: Cloud Firestore and Realtime Database. Both are solid and efficient NoSQL databases.
In short, you can use both SQL and NoSQL databases to store and manage data.
SQL databases, also called Relational Databases, store data in tables and use a fixed schema, meaning that columns and data types must be defined before storing any data. You generally prefer SQL databases for data that requires complex queries and tasks that involve joining multiple tables.
NoSQL databases store data in different formats, like key-value pairs, documents, or graphs, and don’t require a fixed schema. NoSQL is usually preferred for unstructured or semi-structured data, and simple read/write tasks.
Cloud Firestore is the newer and recommended option in most cases for new projects, so that’s the tool you’ll be using in this recipe.
Getting ready
To follow...