Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Serverless Node.js Tutorial - Neon Postgres, AWS Lambda, Next.js, and Vercel

via freeCodeCamp

Overview

Embark on a comprehensive 4-hour tutorial to master serverless Node.js development using Neon Serverless Postgres, AWS Lambda, Next.js, and Vercel. Dive into the world of serverless architecture, learning to deploy Express.js and Node.js applications on AWS Lambda while leveraging the power of Neon Serverless Postgres. Explore essential concepts such as project setup, local Express development with the Serverless Framework, and environment variable management. Gain hands-on experience with branching databases, Neon CLI, and integrating Node.js with Neon Postgres. Progress through deploying to AWS Lambda, securing deployments with AWS Systems Manager Parameter Store, and implementing database schemas and migrations. Enhance your skills with data validation using Zod, automate branched database secrets, and set up continuous deployment via GitHub Actions. Conclude by integrating with Next.js rewrites and deploying Express.js to Vercel, equipping you with the knowledge to build and deploy robust serverless applications.

Syllabus

⌨️ Welcome
⌨️ What Serverless Means for App Development
⌨️ Requirements & Tech Overview
⌨️ Project Setup
⌨️ Running Express Locally with the Serverless Framework
⌨️ Using Dotenv to Load Sensitive Data in Each Stage
⌨️ Explore Branching Databases with Neon Postgres
⌨️ Manage Neon resources from your terminal with the Neon CLI
⌨️ Integrete NodeJS to Neon Postgres
⌨️ First Deploy to AWS Lambda via Serverless Framework
⌨️ Securing our Deployment with AWS System Manager Parameter Store
⌨️ Decouple and Upgrade AWS SSM Client
⌨️ Your First Database Schema
⌨️ Generate SQL Migration Files from Drizzle Kit
⌨️ Custom CLI to Perform DB Migrations
⌨️ Create & Retreive Database Data with Drizzle
⌨️ Validating Request Data with Zod
⌨️ Automating Branched Neon Database Secrets
⌨️ Automated Deployments via Github Actions
⌨️ Integrating with Rewrites in Nextjs and Vercel
⌨️ Deploy Expressjs to Vercel
⌨️ Thank you and next steps

Taught by

freeCodeCamp.org

Reviews

Start your review of Serverless Node.js Tutorial - Neon Postgres, AWS Lambda, Next.js, and Vercel

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.