GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs
Documentation on how to use with Firebase Firestore emulators
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
We have an app that uses a Firestore database, and locally we can use the Firestore Firebase emulators provided by `firebase-tools` to avoid connecting to a remote/shared database.
It's clear enough on how to connect to the emulators locally for reading/writing data with `@google-cloud/firestore`, and it's also clear how I can deploy a function built with the Functions Framework that is triggered by a Firestore event. What I'm not clear on is how we can trigger a function built with the Functions Framework when data is written to said Firestore emulator.
Is this something that can be achieved with the Functions Framework, and if so, how does it need to be set up?
Contributor guide
Research direction
Start by reviewing the repository's existing guidance for the Functions Framework and the Firestore Firebase emulator, focusing on how a Firestore write reaches a function entry point. Done means documenting whether this setup is supported and, if so, explaining the required configuration and local trigger workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- firebase, node.js, typescript
- Domain
- cloud, databases, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100