Hosting a REST API with a Cloud Firestore backend

Hosting a REST API with a Cloud Firestore backend

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!

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: function
13:53 – Demo 2
15:37 – Troubleshooting!
17:37 – Demo 3

Checkout more episodes of Serverless Expeditions →
Subscribe to get all the episodes as they come out →

product: Cloud Firestore; fullname: Roger Martinez, Martin Omander;

0 / 5. 0

Categorized as Hosting

Leave a comment

Your email address will not be published. Required fields are marked *