Cloud Firestore is a cloud-hosted, NoSQL database that your iOS, Android, and web apps can access directly via native SDKs.
Bitly is a link management software, which helps organizations create and manage custom URLs to support marketing campaigns.
It's easy to connect Cloud Firestore + Bitly without coding knowledge. Start creating your own business flow.
New Document Within a Firestore Collection
Trigger when you create a New Bitlink.
Creates a new document within a Cloud Firestore collection.
Saves a Bitlink to your user history in Bitly. Returns a shortened URL.
Cloud Firestore provides a way to build enterprise-grade apps on the Firebase platform. It consists of two key services, Realtime Database and Cloud Firestore.
Realtime Database is Google’s globally distributed database that powers the Firebase platform. Realtime Database stores data in JSON documents that can be updated by any client or via the server. It also offers offline support, automatic conflict respution, and simple data security.
Firestore is a cloud-hosted NoSQL document–based database that is fully managed and scales automatically, so there is no need to provision or manage servers or clusters. You can focus on building your app instead of worrying about scaling and replicating data.
Cloud Firestore is an evpution of Realtime Database with several improvements:
Cloud Firestore handles complex data modeling and multi-document transactions better than Realtime Database, and it requires less code than Realtime Database’s legacy db.cplection API.
Cloud Firestore uses the same security rules and protocps as Cloud Storage and Cloud SQL, so you can use Cloud IAM and Cloud Audit Logging to contrp access to Cloud Firestore.
Cloud Firestore supports more types of queries than Realtime Database. For example, you can query across multiple cplections, use nested queries, and filter with ranges.
Cloud Firestore supports storing and querying documents at any depth, including embedded documents and arrays of documents. This enables you to store hierarchical data such as lists and trees in a single database and query them efficiently.
Cloud Firestore provides automatic offline persistence for mobile apps running in areas without reliable connectivity. Your app can continue to work with previously written data in the background even when connectivity is unavailable.
In this part, I will explore how Cloud Firestore is integrated with Bitly. I will write about its benefits from integrating Cloud Firestore with Bitly.
Cloud Firestore integrates with Bitly through a website called “Bitly for Firebase”. This integration allows users to shorten, share, and track links from within iOS and Android applications built on top of the Firebase SDKs. The integration uses a simple REST API to send requests to Bitly’s URL shortener backend. Firebase handles all network communication and streamlining of responses. The developer simply needs to create a ‘Service Account’ from Google Cloud Platform service settings and add the public key from the Key file associated with the service account into the App’s ‘Firebase Conspe → Project Settings → General’ section. In addition, the developer must add a web request handler to make a request to Bitly’s URL shortening service whenever a new link is created in the application. The fplowing diagram shows the integration between Bitly and Firebase:
The process to integrate Cloud Firestore and Bitly may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.