Serverless Node.js Tutorial – Neon Serverless Postgres, AWS Lambda, Next.js, Vercel
freeCodeCamp.org freeCodeCamp.org
9.38M subscribers
58,120 views
0

 Published On Feb 28, 2024

Learn how to code an Express.js and Node.js app running on AWS Lambda, leveraging Neon Serverless Postgres (https://neon.tech/education) and the Serverless Framework. This course will also teach you how to deploy to Vercel.

✏️ Course developed by @CodingEntrepreneurs

⭐️ Code ⭐️
https://github.com/codingforentrepren...
https://github.com/codingforentrepren...

🏗️ Neon provided a grant to make this course possible.
https://neon.tech/education

⭐️ 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

show more

Share/Embed