MediumConceptEnd-to-end feature delivery
How do you design the API for a new feature?
What a good answer covers
Start from the user flows, define resources and operations, document request and response schemas and errors in an OpenAPI contract, agree it with the frontend and keep it backward compatible.
PreviousWhat happens from clicking a button to seeing updated data in a full-stack app?Next What is optimistic UI and when is it risky?