Hands-on Workshop: Refactor Node.js and Express APIs to Serverless APIs with Azure Functions
summary
Refactors a Node.js + Express API into Azure Functions by copying the services, replacing Express request/response types with Azure Functions context.req/context.res destructuring, and creating four HTTP-trigger functions (GET/POST/PUT/DELETE) with adjusted function.json edits and route parameters. Uses VS Code, Azure Functions Core Tools and the Functions extension to run Angular on 4200 and functions on 7071, hits breakpoints in the debugger, and validates behavior. Live pricing demo shows nearly free execution until huge scale—about ~$0.02 at ~101 million executions.
AI-written summary · about
chapters (13)
- 0:00Start
- 6:46Azure Pricing Calculator
- 11:46Getting Started
- 11:59Git Clone
- 12:40Dependencies To Install
- 13:57Context Switching
- 18:18Creating an Azure Functions Application
- 21:10Create Function
- 29:37Refactor the Route
- 37:26The Proxy Config
- 39:29Review Your Azure Functions Application
- 41:58Breakpoints
- 48:47Where Would You Find the Code in Azure Functions Application That Runs When an Http Request Is Made
related talks
01h 35mLearnShop: Converting Node Express to Serverless with Azure Functions with TypeScript
58mBuild Nodejs APIs using Serverless on Azure
01h 09mServerless APIs in Azure
18mDay 1 Keynote, Take Angular to the Cloud
59mAzure Serverless for JavaScript TypeScript Folks
29mLess servers for your Angular app
45mHop on the serverless adventure with NodeJS
07mAzure Functions: Building serverless apps for Azure using Visual Studio Code
