Module 02 of 10

REST Fundamentals & Resource Modeling

Lessons

About This Module

Now that you know what an API is and what makes one good, it's time to look at the style most web APIs follow. This module covers REST: the ideas behind it, and how to turn the things your system cares about into clean, predictable endpoints.

It starts with the REST constraints, including client-server, statelessness, cacheability, and a uniform interface, and why they make APIs easy to scale. From there it covers resource modeling: identifying the nouns in your domain, giving them URIs, and organizing them into collections and sub-resources. It closes with naming conventions such as plural nouns, lowercase paths with hyphens, and keeping verbs out of URLs.

Watch the lessons in order, then continue on to HTTP, Methods & Status Codes, where you'll learn how requests and responses actually behave on those endpoints.

Lessons

4 videos
01

REST Tutorial: What is REST (Representational State Transfer)?

A short explanation of what REST stands for and the six architectural constraints, with a focus on why REST is about keeping things simple.

02

What is a REST API?

A beginner-friendly overview of REST APIs, showing how a client and server communicate over HTTP.

03

RESTful APIs in 100 Seconds // Build an API from Scratch with Node.js Express

Fireship's quick summary of REST, resources, URIs, methods, and status codes, followed by building a small API from scratch.

04

Designing a Beautiful REST + JSON API

A talk on practical REST design: naming resources with nouns, structuring URLs and collections, linking related resources, and versioning.