LearnShop: Converting Node Express to Serverless with Azure Functions with TypeScript
summary
Workshop shows step‑by‑step migration: clone repo, npm install, ng build, create an Azure Functions TypeScript project, add four HTTP functions (GET/POST/PUT/DELETE) wired to the same api/vacations route, copy the service code, replace Express request/response with the Functions context destructuring, change proxy.conf.json from port 7070 to 7071, and run/attach debuggers in VS Code. The module runs about an hour and demonstrates that only small signature changes and two refactors make the app work serverless.
AI-written summary · about
chapters (11)
- 0:00Start
- 29:56set a breakpoint in the angular
- 30:40set a break point
- 36:19run both applications and debug
- 41:13stop the debuggers
- 44:36create a function for the routes endpoint
- 49:38open up your command palette
- 58:40copy the server slash services folder
- 1:08:45creating the three other endpoints
- 1:18:37write guard logic inside your code
- 1:18:58validate your input
related talks
52mHands-on Workshop: Refactor Node.js and Express APIs to Serverless APIs with Azure Functions
58mBuild Nodejs APIs using Serverless on Azure
45mHop on the serverless adventure with NodeJS
01h 09mServerless APIs in Azure
20mMoving to TypeScript as much as you want
18mDay 1 Keynote, Take Angular to the Cloud
59mAzure Serverless for JavaScript TypeScript Folks
35mServerless Functions and Vue.js
