Nicolas Garnier
61e064b12e
|
9 years ago | |
---|---|---|
bigquery-import | 9 years ago | |
child-count | 9 years ago | |
fulltext-search | 9 years ago | |
lastmodified-tracking | 9 years ago | |
limit-children | 9 years ago | |
message-translation | 9 years ago | |
minimal-webhook | 9 years ago | |
text-moderation | 9 years ago | |
.gitignore | 9 years ago | |
CONTRIBUTING.md | 9 years ago | |
LICENSE | 9 years ago | |
README.md | 9 years ago |
README.md
Firebase Cloud Functions Templates Library
This repository contains a collection of templates showcasing some typical uses of Firebase Cloud Functions.
Prerequisites
To learn how to get started with Cloud Functions and Firebase try the quickstarts (Web, Android) and have a look at the documentation.
Use Cases and Samples
This repository contains the following templates:
Text Moderation
How to moderate user input text for bad words. For example this can be used to moderate usernames, chat or forum messages.
LastModified Firebase Database tracking
Tracking when the Firebase Database (or a subset) was last modified.
Webhook upon Database writes
Writing to the Database triggers a request to a callback URL (a Webhook). The content of the modified Data is sent to the Webhook.
Firebase Database Child Nodes Count
Keeps track of the number of child nodes of a Firebase Database element allowing clients to filter or order results using the child count. This can be useful to keep tack of the number of "likes" or "followers" of a somethings shares through social media.
Automatic message translation
Integrates the Google Translate API to perform automatic text translation across any number of languages. Language codes can be stored in Firebase for on the fly changes.
Limit number of child nodes
Make sure to keep the number of child nodes below a certain threshold. For instance this can be useful to limit the number of lines of logs or chat history below a given number.
Import Data to Big Query
Copies Firebase Database elements into BigQuery automatically. This can be useful for instance for further logs analysis.
Full-text search via Algolia
Enable full-text search on firebase database elements by using an Algolia hosted search service.
Contributing
We'd love that you contribute to the project. Before doing so please read our Contributor guide.
License
© Google, 2015. Licensed under an Apache-2 license.