What you'll learn

  • Explain what a server does and how ports and localhost work
  • Trace a request from client to handler to response
  • Map routes to handlers and return correct status codes
  • Set the right headers and content types on a response
  • Configure a server with environment variables and keep secrets out of code
  • Read logs, handle errors, and run common shell commands
  • Describe how a server gets built, run, and deployed behind a reverse proxy over HTTPS
  • Connect to a database, chain middleware, and track logged-in users with sessions
  • Cache responses, rate-limit abuse, and keep a server healthy and observable

Syllabus