Google Cloud Platform1.17 млн
Опубликовано 24 сентября 2020, 23:00
You can find the code here → goo.gle/36rfln9
In the past, you’ve probably hosted different REST APIs on different backend servers such as Cloud SQL, Firebase, or App Engine. In this episode of Serverless Expeditions Extended, Martin Omander and Roger Martinez show you how to host a REST API on a Firestore backend. Watch as Roger and Martin guide you through initializing firestore, setting up the endpoints for your API, and much more!
Timestamps:
00:00 - Intro
00:59 - Firestore in Google Cloud Console
02:10 - Code: package.json
02:57 - Code: index.js
04:30 - Code: the app.get() function
06:10 - Deployment with Cloud Build and Cloud Run
07:04 - Cloud Build and Container Registry in Google Cloud Console
07:52 - Cloud Run in Google Cloud Console
08:34 - Demo 1
09:21 - Code: app.post() function
13:53 - Demo 2
15:37 - Troubleshooting!
17:37 - Demo 3
Checkout more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
Subscribe to get all the episodes as they come out → goo.gle/GCP
product: Cloud - Databases - Firestore; fullname: Roger Martinez, Martin Omander;
#ServerlessExpeditions #ServerlessExpeditionsExtended #CloudRun
In the past, you’ve probably hosted different REST APIs on different backend servers such as Cloud SQL, Firebase, or App Engine. In this episode of Serverless Expeditions Extended, Martin Omander and Roger Martinez show you how to host a REST API on a Firestore backend. Watch as Roger and Martin guide you through initializing firestore, setting up the endpoints for your API, and much more!
Timestamps:
00:00 - Intro
00:59 - Firestore in Google Cloud Console
02:10 - Code: package.json
02:57 - Code: index.js
04:30 - Code: the app.get() function
06:10 - Deployment with Cloud Build and Cloud Run
07:04 - Cloud Build and Container Registry in Google Cloud Console
07:52 - Cloud Run in Google Cloud Console
08:34 - Demo 1
09:21 - Code: app.post() function
13:53 - Demo 2
15:37 - Troubleshooting!
17:37 - Demo 3
Checkout more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
Subscribe to get all the episodes as they come out → goo.gle/GCP
product: Cloud - Databases - Firestore; fullname: Roger Martinez, Martin Omander;
#ServerlessExpeditions #ServerlessExpeditionsExtended #CloudRun
Случайные видео
Tyler Tarver is teaching us two Gemini for #GoogleWorkspace tips that make his life easier 🙌 #Shorts