gezel Gezel Handboek

REST API Service

Build a RESTful HTTP API service with resource endpoints, JSON request/response bodies, status codes, validation, and error handling. Locks the contract FIRST — resources, routes, verbs, request/response shapes, status-code map, auth, and pagination — so the implementation has a fixed target, then builds the server, then writes endpoint tests that exercise every route and error case. Covers CRUD endpoints, RESTful routing, OpenAPI-style contract, HTTP status codes, input validation, JSON serialization, and integration tests against the running handler.

How it runs

#StepWho runs itWhat happens
1Contract designPlannerlock resources, routes, request/response shapes, status codes
2Build the serviceDeveloperimplement the server to the locked contract
3Write endpoint testsDevelopertest every route, status code, and error path
4EvaluateReviewerGrade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.
5FinishDeveloperAll acceptance criteria met. Stamp a short summary and report DONE.

Say something like "build a rest api" or "create an http api" or "crud endpoints" or "make a backend api" or "json api service" in chat to start it.

Watch this article as a slideshow