https://github.com/captaincodeman/emulator-change-notification
https://github.com/captaincodeman/emulator-change-notification
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/captaincodeman/emulator-change-notification
- Owner: CaptainCodeman
- Created: 2025-05-05T15:27:48.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-05-05T15:27:50.000Z (9 months ago)
- Last Synced: 2025-05-07T04:37:47.801Z (9 months ago)
- Language: TypeScript
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.