GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs
Documentation on how to use with Firebase Firestore emulators
- Langage dominant
- TypeScript
- Étoiles
- 1.4k
- Forks
- 181
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par examiner la documentation existante du dépôt concernant Functions Framework et Firestore Firebase emulator, en vous concentrant sur la manière dont un Firestore write atteint un function entry point. Le travail est considéré comme terminé lorsque la documentation indique si cette configuration est prise en charge et, le cas échéant, explique la configuration requise et le local trigger workflow.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- firebase, node.js, typescript
- Domaine
- cloud, databases, documentation
- Type d'issue
- Documentation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100