The Cookbook
Full Syllabus โ Recipe by Recipe
Pick a track to see exactly what you'll cook. Every recipe ends with working code, a mini-project and a "what breaks in production" debrief.
๐ข Node.js
๐
ฐ๏ธ Angular
๐ MongoDB
โ๏ธ React
โฒ Next.js
๐ฑ NestJS
๐ข Node.js & Express Cookbook
Build and ship a production REST API you could hand to a client on day one.
8 weeks
Beginner โ Advanced
Capstone project
Recipe 01
The Runtime, Demystified
Event loop, phases, microtasks vs macrotasks
CommonJS vs ESM, module resolution
Buffers, streams and backpressure
Worker threads vs cluster vs child_process
npm, package-lock, semver and audit hygiene
๐ณ Cook: a streaming CSV โ JSON converter that handles a 2 GB file
Recipe 02
REST APIs with Express
Routers, middleware order and error-first flow
Layered structure: route โ controller โ service โ repo
Request validation with Zod / express-validator
Centralised error handler & typed error classes
Config, env management and 12-factor basics
๐ณ Cook: a multi-resource CRUD API with pagination and filtering
Recipe 03
Auth That Survives Review
Sessions vs JWT โ when each is the right call
Passport.js strategies and refresh-token rotation
Password hashing, reset flows, account lockout
RBAC middleware: user / admin / superadmin
OAuth login with Google and GitHub
๐ณ Cook: complete auth module with RBAC and audit logging
Recipe 04
Data & Persistence
MongoDB with Mongoose: schemas, hooks, populate
PostgreSQL with Knex/Prisma: migrations and seeds
Transactions and consistency patterns
Redis for caching, sessions and rate limits
N+1 queries and how to spot them
๐ณ Cook: add caching to an endpoint and measure the p95 drop
Recipe 05
Security Hardening
Helmet, CORS, HPP, CSRF and XSS defences
Rate limiting and brute-force protection
Secrets management and safe logging
OWASP Top 10 walked through with real payloads
Dependency and container scanning
๐ณ Cook: attack your own API, then patch every hole you find
Recipe 06
Async Work & Real-Time
BullMQ job queues, retries and dead-letter handling
Scheduled jobs and idempotency
Socket.IO rooms, auth and scaling with Redis adapter
Webhooks: signing, replay protection, retries
File uploads to S3 with presigned URLs
๐ณ Cook: an email + PDF worker pipeline with retry and alerting
Recipe 07
Testing & Quality
Jest unit tests and meaningful coverage
Supertest integration tests with a test database
Mocking, fixtures and factories
ESLint, Prettier, Husky and commit hooks
Contract testing for downstream consumers
๐ณ Cook: take an untested legacy route to 90% coverage
Recipe 08
Ship It
Dockerfile, multi-stage builds, docker-compose
GitHub Actions CI/CD with environment gates
PM2, graceful shutdown and zero-downtime deploys
Structured logging, metrics and health checks
Performance profiling and memory-leak hunting
๐ณ Cook: deploy the capstone API with CI/CD and monitoring
๐
ฐ๏ธ Angular Cookbook
Modern Angular โ standalone components, signals and NgRx โ built the way enterprise teams actually work.
8 weeks
TypeScript-first
Enterprise patterns
Recipe 01
TypeScript for Angular
Types, interfaces, generics and utility types
Decorators and dependency injection explained
Strict mode, and why you should turn it on
Angular CLI, workspaces and project structure
๐ณ Cook: scaffold a strict-mode workspace with lint and format gates
Recipe 02
Components & Templates
Standalone components and the new control flow syntax
Inputs, outputs, content projection, view queries
Change detection and OnPush discipline
Directives and pipes you'll actually reuse
๐ณ Cook: a reusable data-table component with sorting and slots
Recipe 03
Signals & Reactivity
signal, computed, effect and when to prefer them
RxJS operators that matter: switchMap, debounce, combineLatest
Interop between signals and observables
Killing memory leaks with takeUntilDestroyed
๐ณ Cook: a type-ahead search with cancellation and caching
Recipe 04
Forms That Don't Fight You
Reactive forms, typed forms, FormArray
Custom and async validators
Dynamic forms driven by JSON schema
File upload with progress and error states
๐ณ Cook: a multi-step wizard with draft save and validation
Recipe 05
Routing, Guards & HTTP
Lazy loading, route data and resolvers
Functional guards and role-based route access
HttpClient interceptors: auth, retry, error toast
Shell layouts, breadcrumbs and deep linking
๐ณ Cook: a protected admin area with JWT refresh interceptor
Recipe 06
State Management
When you do and don't need a store
NgRx actions, reducers, selectors, effects
Entity adapter and normalised state
Signal store as a lighter alternative
๐ณ Cook: migrate a service-based feature to NgRx without downtime
Recipe 07
Testing Angular
TestBed, component harnesses and spies
Testing signals, effects and HTTP with mocks
Playwright end-to-end flows
Accessibility checks in the test pipeline
๐ณ Cook: full test suite for the wizard from Recipe 04
Recipe 08
Performance & Deployment
Bundle analysis, lazy chunks and preloading
Virtual scrolling and trackBy for big lists
SSR / hydration with Angular Universal
CI/CD, environment config and cache busting
๐ณ Cook: cut initial bundle size by 40% on a real dashboard
๐ MongoDB Cookbook
Schema design, aggregation and operations โ the parts that decide whether your app survives growth.
6 weeks
Design โ Ops
Atlas included
Recipe 01
Think in Documents
Document model vs relational thinking
Embed or reference: the decision checklist
One-to-few, one-to-many, many-to-many patterns
Schema validation rules at the database level
๐ณ Cook: model an e-commerce catalogue three different ways, then benchmark
Recipe 02
CRUD & Mongoose
Query operators, projections and cursors
Mongoose schemas, virtuals, middleware, discriminators
Bulk writes and upserts done safely
Soft deletes and audit fields
๐ณ Cook: a repository layer with reusable query builders
Recipe 03
Aggregation Pipeline
match, group, project, unwind, lookup, facet
Window functions and bucketing
Pipeline optimisation and memory limits
Materialised views with $merge
๐ณ Cook: a sales analytics dashboard query in a single pipeline
Recipe 04
Indexing & Performance
Single, compound, partial, TTL and text indexes
ESR rule and index prefix matching
Reading explain() output like a pro
Profiler, slow queries and Atlas Performance Advisor
๐ณ Cook: take a 4-second query down to under 50 ms
Recipe 05
Transactions & Scale
Multi-document transactions and their cost
Replica sets, read preference, write concern
Sharding: choosing a shard key you won't regret
Change streams for event-driven features
๐ณ Cook: an outbox pattern using change streams
Recipe 06
Operations & Security
Atlas setup, backups and point-in-time restore
Role-based access, network rules, field-level encryption
Migrations and zero-downtime schema evolution
Monitoring, alerting and capacity planning
Vector search basics for AI/RAG features
๐ณ Cook: add semantic search to the catalogue with vector indexes
โ๏ธ React Cookbook
From hooks to architecture โ how to build React apps that stay maintainable past month three.
6 weeks
Hooks-first
Real projects
Recipe 01
Components & JSX
Props, composition and the children pattern
Conditional and list rendering without the footguns
Controlled vs uncontrolled inputs
TypeScript props, generics and discriminated unions
๐ณ Cook: a typed, accessible modal and toast system
Recipe 02
Hooks in Depth
useState, useEffect and the dependency array truth
useMemo / useCallback โ and when they hurt
useReducer for complex state machines
Custom hooks: extraction and testing
๐ณ Cook: useFetch, useDebounce and usePagination from scratch
Recipe 03
State & Data Fetching
Context API and the re-render trap
Zustand / Redux Toolkit for global state
TanStack Query: caching, invalidation, optimistic updates
Error boundaries and Suspense
๐ณ Cook: an offline-tolerant list with optimistic create and rollback
Recipe 04
Forms & Validation
React Hook Form with Zod schemas
Field arrays, nested forms and wizards
Server error mapping and inline feedback
File upload with progress
๐ณ Cook: a dynamic form builder driven by JSON
Recipe 05
Performance
Profiler, wasted renders and memoisation strategy
Code splitting and lazy routes
Virtualised lists for 10k+ rows
Image optimisation and Core Web Vitals
๐ณ Cook: fix a janky dashboard and prove it with the profiler
Recipe 06
Testing & Structure
React Testing Library: test behaviour, not internals
MSW for realistic API mocking
Playwright end-to-end journeys
Folder structure, feature slices and design systems
๐ณ Cook: a tested feature slice you can copy into any project
โฒ Next.js Cookbook
App Router, server components and full-stack Next.js โ including AI features and deployment.
8 weeks
Full stack
AI recipes included
Recipe 01
App Router Foundations
File-based routing, layouts, templates, route groups
Loading, error and not-found conventions
Parallel and intercepting routes
Metadata API and SEO defaults
๐ณ Cook: a marketing + dashboard app with shared layouts
Recipe 02
Server vs Client Components
The mental model that finally makes it click
Streaming and Suspense boundaries
Passing data across the boundary safely
Server Actions for mutations and forms
๐ณ Cook: a form with Server Actions, validation and optimistic UI
Recipe 03
Data & Caching
fetch caching, revalidation and tags
Static, dynamic and partial prerendering
Prisma / Drizzle with PostgreSQL or MongoDB
Route handlers and edge runtime trade-offs
๐ณ Cook: ISR-powered product pages with on-demand revalidation
Recipe 04
Auth & Authorisation
Auth.js / NextAuth with credentials and OAuth
Session strategies and middleware protection
Role-based access in server components
Multi-tenant routing patterns
๐ณ Cook: a multi-tenant SaaS shell with role-aware navigation
Recipe 05
AI Features in Next.js
Streaming LLM responses to the UI
RAG over your own content with a vector store
Tool calling from server actions
Rate limiting, cost control and prompt versioning
๐ณ Cook: an AI assistant widget grounded in your docs
Recipe 06
Performance & Deploy
next/image, fonts and bundle analysis
Core Web Vitals and real-user monitoring
Deploy to Vercel, or self-host with Docker
Preview environments and CI/CD
๐ณ Cook: ship the capstone app with monitoring and preview deploys
๐ฑ NestJS Cookbook
Enterprise backend architecture โ modular, testable and ready for microservices.
8 weeks
Architecture-heavy
Microservices
Recipe 01
Nest Fundamentals
Modules, controllers, providers and DI containers
Custom providers, factories and injection tokens
Configuration module and validation of env vars
Project structure for a 50-module codebase
๐ณ Cook: bootstrap a modular monolith you can split later
Recipe 02
The Request Pipeline
Pipes, DTOs and class-validator
Guards for auth and roles
Interceptors for logging, caching, transformation
Exception filters and consistent error shapes
๐ณ Cook: a cross-cutting audit interceptor with correlation IDs
Recipe 03
Persistence
TypeORM or Prisma integration and repository patterns
Migrations, seeding and multi-database setups
Transactions and unit-of-work
Caching with Redis and cache invalidation strategy
๐ณ Cook: a transactional order service with rollback tests
Recipe 04
Auth & Multi-Tenancy
JWT strategy, refresh tokens, API keys
CASL-style permissions and policy guards
Tenant resolution and data isolation
Rate limiting and throttler configuration
๐ณ Cook: tenant-scoped RBAC that fails closed by default
Recipe 05
Async & Microservices
BullMQ queues and scheduled tasks
Event emitter, CQRS module and sagas
Transports: Redis, RabbitMQ, Kafka, gRPC
GraphQL with code-first schemas
WebSocket gateways at scale
๐ณ Cook: split one module into a standalone microservice
Recipe 06
Testing, Docs & Deploy
Unit and e2e testing with the Nest testing module
Swagger/OpenAPI generation and versioning
Health checks, metrics and OpenTelemetry tracing
Docker, Kubernetes basics and CI/CD
๐ณ Cook: production-ready deployment with traces and dashboards
๐งโ๐ซ Live online or on-site
๐ผ All sessions recorded
๐ข Corporate batches available
๐ Certificate on completion
๐ฌ 30 days doubt support