All paths
ExpressIntermediate

Express

Build backends and APIs in Node.js with Express: routing, middleware, request/response handling, errors, authentication and deployment. Complete your JavaScript backend/full-stack developer path.

12 chapters36 lessons48 challenges

Course curriculum

Chapter 1: Introduction to Express and Node

  • What Express is
  • Your first server
  • npm and package.json

Chapter 2: Routing

  • Methods and routes
  • Route parameters
  • res: responding to the client

Chapter 3: Middleware

  • What a middleware is
  • Built-in and third-party middleware
  • Order and execution

Chapter 4: Reading request data

  • Query string (req.query)
  • Request body (req.body)
  • Request headers

Chapter 5: Modular routing

  • express.Router()
  • Mounting a router
  • Project structure

Chapter 6: Error handling

  • Error-handling middleware
  • Not found routes (404)
  • Errors in async handlers

Chapter 7: Authentication (JWT)

  • Password hashing (bcrypt)
  • JWT: issue and verify
  • Authentication middleware

Chapter 8: Security

  • Security headers and CORS
  • Validate and never trust input
  • Rate limiting and secrets

Chapter 9: Database

  • Connection and driver/ORM
  • Async operations (async/await)
  • Separating data access

Chapter 10: Asynchrony in Node

  • The async model and callbacks
  • Promises
  • async/await

Chapter 11: Testing

  • Unit tests with Jest
  • Testing the API with Supertest
  • Mocking and isolation

Chapter 12: Deployment and best practices

  • Configuration from the environment
  • Running in production
  • Interview checklist

Ready to level up?

Create a free account and start now: earn XP on every challenge and climb the leaderboard.

Express — LevelUpCode