首页 > 解决方案 > Firebase 托管和数据库同时进行

问题描述

我为我的 android 应用程序使用了 firebase firestore 和 firebase storage。我的网站可以使用相同的数据库和存储吗?如果是,那么我怎样才能轻松做到这一点?谢谢。

标签: androidfirebasegoogle-cloud-firestorefirebase-storagefirebase-hosting

解决方案


这当然是可能的。Firebase 的官方文档包含如何操作的指南。

还有什么 Firestore 和 Storage 以及 Google Cloud Platform 产品。因此,您可以通过GCP 控制台访问您的数据库和存储。因此,不仅可以通过 Firebase API 连接它们,还可以通过 Google Cloud API 连接它们。

我建议阅读 GCP 的存储文档Firestore 文档,在那里您可能会找到 API 参考、教程、最佳实践等非常多的东西。我相信您将能够找到您的 web 应用程序正在使用的技术的 API。

我希望这个能帮上忙!


推荐阅读