Cloud Firestore
Cloud Firestore provides offline persistence for web applications as well as incredible storage flexibility and scalability.
Firebase platform
Firebase is a platform targeting mobile and web development. It offers a rich set of tools and services to help developers create high-quality apps, grow their user base, and monitor their systems. The supported platforms are mobile (iOS/Android), web (JavaScript, Node.js), C++, Java, Python, Go, and Unity.
The image below summarizes Firebase’s services, and as you can see, not all services are available for each platform. For instance, Crashlytics, a real-time crash reporter, and Machine Learning Kit are available only for mobile platforms.
Nevertheless, the options offered are awe-inspiring and even a bit daunting initially. However, we don’t have to use or know them all. Actually, in our PWA context, we need just one: Cloud Firestore.
Cloud Firestore
Cloud Firestore is a NoSQL document database that allows us to store, sync, and query data for mobile and web apps.
Relational databases (or SQL databases) have a table-based structure and require a specific schema. On the other side, NoSQL databases don’t have a predefined schema and usually store data as JSON documents.
Table columns in SQL DBs become object properties in NoSQL ones. With this structure, the ...