Module 08 Β· The Walkers API, End to End β Lesson 1 of 3 Β· ~11 min
GET /walkers β listing with pagination
The capstone: one real REST resource
You have all the pieces now β a module, a controller, an injectable service, DTOs behind a ValidationPipe, and a Prisma-backed database. This module bolts them into the thing every backend interview circles back to: a working CRUD resource. By the end you'll have a WalkersModule that answers GET /walkers (paginated), GET /walkers/:id (with a real 404), and POST /walkers (validated, 201) β the exact shape the PawWalk app talks to.
The senior framing:
A REST resource isn't three clever endpoints β it's three boring ones that agree on a response shape, honest status codes, and a clean boundary between what the database stores and what the API returns.