javascript · intermediate
Node Backend Foundations
Learn how servers actually work: requests, routing, REST APIs, middleware, databases, auth, and errors -- using plain Node.js concepts.
A practical, beginner-first introduction to backend web development. You will learn what a server does under the hood, how HTTP requests and responses work, how routing and REST resources are designed, how to shape JSON APIs, how middleware chains process requests, how to validate input, how databases fit in, the basics of authentication, and how to handle errors and logging like a professional backend developer.
Servers, Requests, and Routing
How a server receives a request and decides what to do with it.
- What a Server Actually DoesLevel 1 · Complete beginner · Pass the quick check to continue10m
- The Request/Response CycleFinish the lesson and pass the quick check in "What a Server Actually Does" to unlock this lesson.12m
- Routing: Matching Requests to HandlersFinish the lesson, Pass the quick check and pass the coding challenge in "The Request/Response Cycle" to unlock this lesson.14m
Building JSON APIs
Designing REST resources, status codes, JSON responses, and middleware.
- REST Resources: Modeling Your APIFinish the lesson, Pass the quick check and pass the coding challenge in "Routing: Matching Requests to Handlers" to unlock this lesson.12m
- Choosing the Right Status CodeFinish the lesson, Pass the quick check and pass the coding challenge in "The Request/Response Cycle" to unlock this lesson.12m
- Shaping JSON APIsFinish the lesson and pass the quick check in "REST Resources: Modeling Your API" to unlock this lesson.12m
- Middleware: Chains of Request ProcessingFinish the lesson, Pass the quick check and pass the coding challenge in "Routing: Matching Requests to Handlers" to unlock this lesson.14m
Data, Auth, and Reliability
Validating input, talking to a database, authentication basics, and handling errors.
- Reading and Validating InputFinish the lesson, Pass the quick check and pass the coding challenge in "Shaping JSON APIs" to unlock this lesson.14m
- Connecting to a DatabaseFinish the lesson, Pass the quick check and pass the coding challenge in "Reading and Validating Input" to unlock this lesson.15m
- Build a Validated, Authenticated REST APIComplete "Connecting to a Database" to unlock this project.~6h
- Authentication Basics: Who Is Making This Request?Finish the project "Build a Validated, Authenticated REST API" to unlock this lesson.12m