gpt4 book ai didi

firebase - 用于 Flutter 的 Firestore 上的 Cloud Functions

转载 作者:IT王子 更新时间:2023-10-29 06:59:36 24 4
gpt4 key购买 nike

我对 Firestore 比较陌生,目前正在尝试在其上构建 Flutter 应用程序。我遇到了一个障碍,我意识到我必须利用 Firestore Cloud Functions 来执行服务器端数据操作。

不幸的是,没有很多很棒的资源和视频来描述设置过程(至少对于像我这样的软件开发新手来说是这样)。但是,我找到了这个视频 https://www.youtube.com/watch?v=DYfP-UIKxH0介绍了如何使用 Typscript 设置 Firestore 应用程序。因此,我有两个问题:

  1. 为 Firestore 和 Firebase 设置编写云函数的环境是否相同?
  2. 我想用 Javascript 还是 Typescript 编写这些函数?

最佳答案

  1. 是的。当您使用 Cloud Firestore 时,您实际上是在使用 Firebase,并且 Cloud Functions 的设置在它们之间是相同的。如果您遇到问题,请使用 minimal steps needed to reproduce that problem 发布问题.
  2. 这是你的决定,因为在 Stack Overflow 上推荐一种技术而不是另一种技术是题外话。也就是说,大多数具有严格类型语言背景的开发人员可能更喜欢 typescript 。

关于firebase - 用于 Flutter 的 Firestore 上的 Cloud Functions,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53386292/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com