API Design
REST API conventions: URL structure, HTTP methods, status codes, pagination, filtering, error responses, and versioning.
URL Structure
- Use nouns, not verbs — the HTTP method provides the verb
- Use plural resource names —
/users,/orders,/products - Use kebab-case for multi-word resources —
/order-items, not/orderItems - Nest resources to show relationships — max 2 levels deep
- Use query parameters for filtering, not path segments
[Description truncada. Veja o README completo no GitHub.]