Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cloud Firestore

Cloud Firestore

Cloud Firestore is a flexible, scalable database for mobile, web, and server development from Firebase and Google Cloud Platform.

More Decks by Juan Guillermo Gómez Torres

Other Decks in Programming

Transcript

  1. Juan Guillermo Gómez ➢ Co-Leader y Co-Founder del GDG Cali.

    ➢ CEO DevHack. ➢ Consultant and advisor on SOA, software architecture and software development. ➢ Experience in several languages ​​and platforms. (C, C#, Java, NodeJS, android, GCP, Firebase). ➢ Google Developer Expert (GDE) in Firebase ➢ BS in System Engineering and a MS in Software Engineering. ➢ @jggomez ➢ [email protected] <vanity> </vanity>
  2. Firestore ➢ NoSQL data base ➢ Flexibility ➢ Scalable. ➢

    Google cloud support ➢ JSON format. ➢ Cross Platform. ➢ Store and sync data for client and server-side development. ➢ Offline support. ➢ Integration with other firebase and Google Platform products.
  3. How does it work? ➢ Store data in documents. ➢

    NoSQL data model. ➢ Documents are stored in collections. ➢ Documents support many different data types, from simple strings and numbers, to complex, nested objects ➢ You can also create subcollections within documents and build hierarchical data structures that scale as your database grows. ➢ Querying in Cloud Firestore is expressive, efficient, and flexible.
  4. Set up your development environment <script src="https://www.gstatic.com/firebasejs/4.11.0/firebase.js"></script> <script src="https://www.gstatic.com/firebasejs/4.11.0/firebase-firestore.js"></script> npm

    install [email protected] --save firebase.initializeApp({ apiKey: '### FIREBASE API KEY ###', authDomain: '### FIREBASE AUTH DOMAIN ###', projectId: '### CLOUD FIRESTORE PROJECT ID ###' }); // Initialize Cloud Firestore through Firebase var db = firebase.firestore();