Creating a REST API with Node.js and MySQL

49 582
18.5
Следующее
Популярные
Опубликовано 26 февраля 2021, 0:00
How to build with Cloud Run → goo.gle/3qTBwcY
More details about CloudSQL → goo.gle/3aVTkyN

Building a REST API can be difficult, but it doesn’t have to be. In this episode of Serverless Expeditions, Roger Martinez and Martin Omander show you how to build a Rest API with Node.js and MySQL via Cloud Run. Watch as Martin and Roger build an app from the beginning and run into a bug or two as they deploy their application to Google Cloud!

Timestamps:
0:00 - Intro
0:45 - Creating a CloudSQL instance/server
2:15 - Creating and populating a database on the server
5:16 - Creating a simple health check in the REST API
7:05 - Writing code to fetch database content for the REST API
9:38 - Deploying the REST API to Cloud Run
10:54 - Testing the read-only REST API
12:18 - Implementing writing to the database through the REST API
16:50 - Testing the write-part of the REST API

Checkout more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
Subscribe to get all the episodes as they come out → goo.gle/GCP

#ServerlessExpeditions #ServerlessExpeditionsExtended #CloudRun

Product: Cloud Run; fullname: Roger Martinez, Martin Omander;
автотехномузыкадетское