Serverless Node.js Tutorial – Neon Serverless Postgres, AWS Lambda, Next.js, Vercel
Learn how to deploy an Express.js and Node.js app to AWS Lambda leveraging Neon Serverless Postgres and the Serverless Framework. This course will also teach you to deploy to Vercel.
✏️ Course developed by @CodingEntrepreneurs
⭐️ Code ⭐️
https://github.com/codingforentrepreneurs/serverless-nodejs-api
https://github.com/codingforentrepreneurs/serverless-nodejs-api-nextjs
?️ Neon provided a grant to make this course possible.
https://neon.tech/
⭐️ Chapters ⭐️
⌨️ (0:00:00) Welcome
⌨️ (0:02:32) What Serverless Means for App Development
⌨️ (0:08:32) Requirements & Tech Overview
⌨️ (0:12:28) Project Setup
⌨️ (0:19:22) Running Express Locally with the Serverless Framework
⌨️ (0:27:11) Using Dotenv to Load Sensitive Data in Each Stage
⌨️ (0:35:18) Explore Branching Databases with Neon Postgres
⌨️ (0:44:01) Manage Neon resources from your terminal with the Neon CLI
⌨️ (0:53:47) Integrete NodeJS to Neon Postgres
⌨️ (1:02:50) First Deploy to AWS Lambda via Serverless Framework
⌨️ (1:23:08) Securing our Deployment with AWS System Manager Parameter Store
⌨️ (1:43:52) Decouple and Upgrade AWS SSM Client
⌨️ (1:53:17) Your First Database Schema
⌨️ (2:02:39) Generate SQL Migration Files from Drizzle Kit
⌨️ (2:07:50) Custom CLI to Perform DB Migrations
⌨️ (2:19:33) Create & Retreive Database Data with Drizzle
⌨️ (2:39:34) Validating Request Data with Zod
⌨️ (2:51:11) Automating Branched Neon Database Secrets
⌨️ (3:09:00) Automated Deployments via Github Actions
⌨️ (3:32:07) Integrating with Rewrites in Nextjs and Vercel
⌨️ (3:48:58) Deploy Expressjs to Vercel
⌨️ (4:03:08) Thank you and next steps
? Thanks to our Champion and Sponsor supporters:
? davthecoder
? jedi-or-sith
? 南宮千影
? Agustín Kussrow
? Nattira Maneerat
? Heather Wcislo
? Serhiy Kalinets
? Justin Hual
? Otis Morgan
? Oscar Rahnama
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
freeCodeCamp.org
Learn to code for free....