You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Nicolas Garnier 8616474635 Small README update 8 years ago
bigquery-import Update of the README to add details about the samples. 8 years ago
child-count Updating the child-count Functions sample. 8 years ago
email-confirmation Small update to the email-confirmation Functions sample 8 years ago
fulltext-search Update of the README to add details about the samples. 8 years ago
instagram-auth Functions HTTP trigger sample: Authorize with LinkedIn and Instagram 8 years ago
lastmodified-tracking Added email-confirmation sample Firebase Functions sample. 8 years ago
limit-children Update samples to use promises for Firebase. 9 years ago
linkedin-auth Functions HTTP trigger sample: Authorize with LinkedIn and Instagram 8 years ago
message-translation Update samples to use promises for Firebase. 9 years ago
minimal-webhook Update samples to use promises for Firebase. 9 years ago
text-moderation Small README update 8 years ago
.gitignore Cleaned up the email-confirmation sample. 8 years ago
CONTRIBUTING.md Updated Contributing guide. 9 years ago
LICENSE Adding initial README, license files and CONTRIBUTING rules. 9 years ago
README.md Update of the README to add details about the samples. 8 years ago

README.md

Firebase Functions Samples Library

This repository contains a collection of samples showcasing some typical uses of Firebase Functions.

Prerequisites

To learn how to get started with Firebase Functions try the quickstart samples and have a look at the documentation.

Use Cases and Samples

This repository contains the following samples:

Authorize with LinkedIn

Demonstrates how to authorize with a 3rd party sign-in mechanism (LinkedIn in this case), create a Firebase custom auth token, update the user's profile and authorize Firebase.

Uses an HTTP trigger.

Authorize with Instagram

Demonstrates how to authorize with a 3rd party sign-in mechanism (Instagram in this case), create a Firebase custom auth token, update the user's profile and authorize Firebase.

Uses an HTTP trigger.

Text Moderation

How to moderate user input text for bad words. For example this can be used to moderate usernames, chat or forum messages.

Uses an Realtime Database trigger.

Email Confirmation

Sends email confirmation after users subscribed to a mailing list.

Uses an Realtime Database trigger.

LastModified Firebase Database tracking

Tracking when the Firebase Database (or a subset) was last modified.

Uses an Realtime Database trigger.

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.

Uses an Realtime Database trigger.

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.

Uses an Realtime Database trigger.

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.

Uses an Realtime Database trigger.

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.

Uses an Realtime Database trigger.

Import Data to Big Query

Copies Firebase Database elements into BigQuery automatically. This can be useful for instance for further logs analysis.

Uses an Realtime Database trigger.

Enable full-text search on firebase database elements by using an Algolia hosted search service.

Uses an Realtime Database trigger.

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.