The product needs it now
- 01Mobile apps need a backend
- 02Third-party integrations required
- 03Multiple frontend clients
- 04Public API is part of the product
Core capability
RESTful or GraphQL APIs for mobile apps, third-party integrations, and frontend-backend communication.
SCOPE DECISION
A capability is only essential when the product promise depends on it. Use these signals to keep the decision tied to user value.
IMPLEMENTATION OPTIONS
The right technology depends on ownership, scale, integration depth, and how much operational responsibility the team wants to carry.
DELIVERY SEQUENCE
WATCH FOR
QUESTIONS
REST for simpler apps and teams new to APIs. GraphQL when you have complex, nested data or need flexibility for multiple clients. tRPC for TypeScript-heavy stacks.
URL versioning (/v1/users) is simplest for REST. For MVPs, avoid versioning until you have paying customers who need stability.
Use OpenAPI/Swagger for REST. GraphQL is self-documenting. Generate docs automatically from code when possible.
RELATED DECISIONS
DISCUSS YOUR APP
Bring the product context and current scope. We will choose the approach after the release is clear.
Discuss your app