How should you structure your API endpoints?
- Use nouns, not verbs → GET /users (not /getUsers).
- Use plural form → /users, /orders.
- Nested resources for relationships → /users/1/orders.
- Consistent naming conventions.
- Avoid exposing internal DB structure.