Hop on the Serverless Adventure with NodeJS
summary
Builds a Node.js CRUD API for "puppies" using Azure Functions extension in VS Code, runs and debugs locally with breakpoints, shares dependencies via a root package.json to reduce cold starts, and connects to a Cosmos DB/MongoDB instance using Cosmos DB bindings and environment values in local.settings.json. Notes function time limits (5–10 minutes), pay-per-execution autoscaling (demo shows about five to six instances under artillery load), deploys zipped code but requires configuring app settings in the cloud and CI/CD to avoid overwrites.
AI-written summary · about
chapters (20)
- 0:00Start
- 6:59Execution Time Limit
- 7:55Server List Providers
- 8:46Azure Functions
- 9:23How Do I Install Npm Packages
- 10:13How Do I Configure Rest like Urls
- 11:20How Do I Create a Project
- 12:01Visual Studio Code
- 12:55Extensions
- 15:30Create an Http Trigger
- 19:25Debugging
- 24:01Connecting to Mongodb
- 27:47Create Routes
- 30:16How Do I Connect to a Mongodb Database
- 35:47Bindings
- 39:39Monitoring Functions
- 39:56Artillery
- 42:03Recap
- 42:23How Do I Connect To Mongodb
- 43:06Resources
related talks
58mBuild Nodejs APIs using Serverless on Azure
45mHop on the serverless adventure with NodeJS
43mServerless Data APIs with Azure Functions and Cosmos DB
28mHop on the serverless adventure with NodeJS
59mAzure Serverless for JavaScript TypeScript Folks
46mBuild serverless, full stack applications in Azure with Azure SQL
01h 00mServerless Trends of the Season
39mServerless at the end of the Universe
