GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs
Documentation on how to use with Firebase Firestore emulators
- Ngôn ngữ chính
- TypeScript
- Star
- 1.4k
- Fork
- 181
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng việc xem lại hướng dẫn hiện có của repository về Functions Framework và Firestore Firebase emulator, tập trung vào cách một Firestore write đi tới một function entry point. Công việc được xem là hoàn thành khi tài liệu nêu rõ thiết lập này có được hỗ trợ hay không và, nếu có, giải thích cấu hình bắt buộc cùng local trigger workflow.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- firebase, node.js, typescript
- Lĩnh vực
- cloud, databases, documentation
- Loại issue
- Tài liệu
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100