API Design in Node.js, v5
Course on Master.dev by Scott Moss
- 9 h 59 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 62
- Lessons
- Sept 2025
- Published29 Sept 2025
About this course
Description from Master.dev
Build scalable APIs for any application with Node.js and Express. Learn RESTful API design best practices as you design routes, run Postgres migrations, and secure your API with JWT-based authentication. Bullet-proof your API with TypeScript, runtime schema validation with Zod, and comprehensive integration testing strategies. Create a production deployment and ship your next API today!
What it covers
62 lessons
- 01
Introduction
- Introduction
- API Project Tour
- Node.js & Servers Overview
- 02
Getting Started with Express
- Create an Express Application
- Testing APIs with Postman
- Environment Variables Overview
- Dev & Production Variables
- Type-Safe Environment Variables
- Advanced Environment Techniques
- 03
Creating Express Routes
- HTTP Verbs & RESTful Route Patterns
- Requests and Responses
- Subrouters
- User Routes
- Mounting Routes with use Middleware
- Advanced Routing Strategies
- 04
Middleware
- Express Middleware
- Network, Frontend, & Backend Middleware
- Understanding the next() Argument
- Global Middleware
- Validation Middleware
- Parameter & Query Validators
- Async Middleware & Pitfalls
- 05
Postgres Databases Setup
- Database Schemas
- PostgreSQL & ORMs
- Database Migrations
- Create Tables with Drizzle ORM
- Establish Table Relationships
- Exporting Database Types & Schemas
- Schema Best Practices
- Hosted PostgreSQL with Neon
- Database NPM Scripts
- Seed the Database
- Database Q&A
- 06
Authentication & Authorization
- Authentication Strategies
- User Registration Workflow
- Registration Controller
- Create a JWT
- Validate & Test Authentication
- User Sign-In Workflow
- Sign-In Controller
- JWT Verification Utility
- Authentication Middleware
- Protected Routes
- Security Best Practices
- 07
CRUD Routes
- RESTful Route Design Review
- Create Habit Controller
- Get All Habits Controller
- Update Habit Controller
- Testing the CRUD Routes
- 08
Error Handling & Testing
- Error Handling in Express
- Error Handler Middleware
- Testing with Vitest
- Global Test Setup
- Testing Helper Functions
- Verify Test Setup
- Integration Testing Overview
- Auth Registration Test
- Auth Login Test
Show 2 more sections
- 09
Production Deployment & CI/CD
- Setup Production Database
- Production Environment Variables
- Deploying to Render
- 10
Wrapping Up
- Wrapping Up
Similar Node.js courses
Same topic, nearest in length, up to three from any one provider.
Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.