An open API service indexing awesome lists of open source software.

https://github.com/captaincodeman/emulator-change-notification


https://github.com/captaincodeman/emulator-change-notification

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Firestore Emulator Object Change Notification

Example of using Cloud Functions to simulate [Object Change Notification](https://cloud.google.com/storage/docs/object-change-notification) messages via a Pub/Sub channel, for local development and testing using the emulators.

## Usage

1. Build the `functions` and `worker` packages.
1. Start the firebase emulators
1. Start the `worker`
1. Start the `app`
1. Upload some jpeg images

You should see the worker printout the pubsub messages in the same way it would if using Object Change Notifications via a Pub/Sub topic subscription.