Migrating Your API to Serverless using Azure Functions

preview_player
Показать описание
Burke Holland leads you through learning how to migrate an existing NodeJS/Express based API to a Serverless one using Azure Functions and Azure Functions Proxies.

Here's what we go over in the video...

00:19 - Walkthough of existing project (available on Github)
01:27 - Create new Serverless project
02:26 - Create a new HTTP Function
02:47 - Add a function to read from the database
04:16 - Testing locally
04:47 - Create and test the rest of the CRUD functions - Create, Update and Delete
07:35 - Create a new Functions App in Azure
08:35 - Deploying code to the Function App in Azure
09:20 - Add environment variables
09:54 - Testing deployed Function App with Postman
10:28 - Using proxies to create RESTful URL's
14:30 - Pointing the React project at the new endpoint
15:23 - Enabling CORS
Рекомендации по теме
Комментарии
Автор

This is what I was looking for! Subscribed :)

truth_beauty
Автор

Absolutely awesome! Totally ties together what I've been looking for on how to use Azure Functions for my Cosmos DB backend API.

MattPenner
Автор

It helped me to get clear idea about converting rest api to Azure function. Very helpful video :) Can you please show us how to do unit testing for this?

JanithWidarshana
Автор

Great job. I look for for long times 'then I found it, thanks

websimo
Автор

Nice one. Would have been good to talk about the impact of hosting apis on a serverless platform. For ex cold start and the impact of it. Database connection pooling issues related to frequent cold starts.

harisubra
Автор

The part of reconfiguring the proxies is kind of tedious, imagine we have more than 10 endpoints ... But we can stick with the default routes tbh

teolcd