Building APIs with Node.js & Express

Go from consuming APIs to building them. Learn how HTTP works from the wire up, then build JSON APIs with Node.js and Express: routes, middleware, controllers, and a full CRUD project.

BTaught by Brad Traversy
4.9
1.3k enrolled

Start learning

Build real skills one lesson at a time

Explore the complete curriculum below, then start with the lesson that is right for you.

About this course

Most developers start by consuming APIs. This course takes you to the other side of the request and teaches you how to build them.

You'll start with HTTP itself, build a server with Node.js, and then use Express to create a complete CRUD API backed by a JSON file.

What you'll learn

  • How HTTP requests and responses work
  • Building a server with Node.js and the built-in http module
  • Creating Express routes with params and query strings
  • Handling POST, PUT, and DELETE requests
  • Using middleware for logging, access control, and errors
  • Organizing an API with routers and controllers
  • Reading and writing JSON files for data persistence
  • Building a complete CRUD API

Prerequisites

Course instructor

BT

Brad Traversy

Founder of Traversy Media and an educator known for practical, project-focused web development courses.

Course content