Skip to content

adventures-in/publish_new_user_data_firebase_extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

publish_new_user_data_firebase_extension

On Firebase user creation, publish user data to a PubSub topic named "NEW_USER".

The published messages will be consumed by another service such as: on_user_creation_microservice.

See also: How to connect a Cloud Function to a Dart microservice with Pub/Sub

Using the extension

Setup

Clone this repo into a separate directory from your project (so we don't confuse the firebase tool) and update PROJECT_NAME in .firebaserc to your Firebase project name. Then deploy:

cd publish_new_user_data_firebase_extension/functions
npm install
firebase deploy

Future Work

About

On Firebase user creation, publish user data to a given PubSub topic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published