Creating a REST API with Node.js and MySQL

How to build with Cloud Run →
More details about CloudSQL →

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!

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 →
Subscribe to get all the episodes as they come out →

#ServerlessExpeditions #ServerlessExpeditionsExtended

Product: Cloud Run; fullname: Roger Martinez, Martin Omander;

Duration: 00:20:06
Publisher: Google Cloud
You can watch this video also at the source.

Inxy Hosting CDN Marketplace