Fastify: Building High-Performance Node.js APIs
Build fast Node.js APIs with Fastify routing, JSON Schema validation, plugins, hooks and JWT auth. For developers who want an Express alternative.
What you'll learn
- Create routes with request and reply objects and proper status codes.
- Validate and serialize data with JSON Schema and TypeBox type providers.
- Structure apps with plugins, encapsulation, hooks and autoload.
- Add authentication, database access, error handling and logging.
- Test, secure, containerize and scale a Fastify service.
Syllabus
Module 1: Getting Started
Module 2: Foundation
Module 3: Core Routing & Handlers
Module 4: Data Handling & Validation
Module 5: Design Patterns & Hooks
- Lifecycle Hooks
- Middleware & Hooks Pattern
- Encapsulation & Scope
- Type Providers with TypeBox
- Project Structure with autoload