我需要什么服务来设置后端?
What services do I need to setup the backend?
这可能是一个重复的问题,但我不确定如何正确表达这个问题才能得到正确的答案...
所以我是一名移动开发人员,我没有在后端编写太多代码,也没有设置自己的数据库和服务器。
我请承包商为我的后端编写代码。我需要一个存储数据库的位置和一个存储 API/Server 的位置,以便我可以使用 API 在移动应用程序上访问它。出于某种原因,他们询问 MongoDB、GCP 和类似的东西。
我只需要一个存储数据库的后端和一个具有 API 个可以执行 REST 的端点的服务器。
非常感谢可能是个愚蠢的问题。
All I need is a backend where the database is stored and a server that has API endpoints that can do REST.
MongoDB是一个面向文档的NoSQL数据库。您和您的开发人员可以安装 MongoDB manually in Google Compute Engine vm instance or through the marketplace(with help of deployment manager) named MongoDB or MongoDB Atlas, see the images below. This is where your database is stored. Here's another one tutorial 如何安装和使用 MongoDB Atlas with App Engine。
对于后端服务器,John Hanley 是对的,您可以使用 Compute Engine,但还有其他服务,例如 Cloud 运行 和 App Engine,它们比 Compute Engine 便宜得多,因为它会根据请求向您收费你做的。您可以使用 GCP Calculator 估算每月 GCP 产品或服务的费用。
休息 API 参考:
这可能是一个重复的问题,但我不确定如何正确表达这个问题才能得到正确的答案...
所以我是一名移动开发人员,我没有在后端编写太多代码,也没有设置自己的数据库和服务器。
我请承包商为我的后端编写代码。我需要一个存储数据库的位置和一个存储 API/Server 的位置,以便我可以使用 API 在移动应用程序上访问它。出于某种原因,他们询问 MongoDB、GCP 和类似的东西。
我只需要一个存储数据库的后端和一个具有 API 个可以执行 REST 的端点的服务器。
非常感谢可能是个愚蠢的问题。
All I need is a backend where the database is stored and a server that has API endpoints that can do REST.
MongoDB是一个面向文档的NoSQL数据库。您和您的开发人员可以安装 MongoDB manually in Google Compute Engine vm instance or through the marketplace(with help of deployment manager) named MongoDB or MongoDB Atlas, see the images below. This is where your database is stored. Here's another one tutorial 如何安装和使用 MongoDB Atlas with App Engine。
对于后端服务器,John Hanley 是对的,您可以使用 Compute Engine,但还有其他服务,例如 Cloud 运行 和 App Engine,它们比 Compute Engine 便宜得多,因为它会根据请求向您收费你做的。您可以使用 GCP Calculator 估算每月 GCP 产品或服务的费用。
休息 API 参考: