Web应用程序将数据从共享主机网页写入firebase firestore

问题描述 投票:0回答:1

我试图找到从共享主机网页向firestore写入数据的方法,

Google上的firestore教程并不多

现在我正在通过我的Android应用程序管理面板更新/编写数据/文档但在移动设备上很难做到

试图根据firebase docscode lab创建网页

代码实验室的日子

What you'll need
The IDE/text editor of your choices such as WebStorm, Atom or Sublime.
npm which typically comes with NodeJS.
A console.
A browser such as Chrome.
The sample code. See next step for this.

所以根据谷歌代码实验室npm / node js是必需的

但firesbase文档没有说什么,即使按照firebase文档尝试共享Linux托管(Siteground)但没有结果

我现在的问题

  • 是否有可能创建一个Web应用程序来在普通的共享Linux主机上写入数据/文档(如blue hsost / sitegroung.com等..)
  • 是否有可能开发没有节点js的网页将数据/文档写入共享Linux主机上的firestore?
android firebase firebase-realtime-database google-cloud-firestore
1个回答
0
投票

是否可以创建一个Web应用程序来在普通的共享Linux主机上写入数据/文档?

是。您可以在任何地方托管您的网络应用该连接直接从用户浏览器中的网页连接到Cloud Firestore,因此对主机没有特殊要求。

是否有可能开发没有节点js的网页将数据/文档写入共享Linux主机上的firestore?

是。 Node.js不需要在您的Web应用程序中使用Cloud Firestore,它只在codelab中用于部署到Firebase Hosting。

© www.soinside.com 2019 - 2024. All rights reserved.