|
|
|
Any resources or advice for someone new to API design?
|
|
3 points
by rahhulk7
831 days ago
|
|
As a newcomer to API design, I'm grappling with the differences between REST and GraphQL APIs. Specifically, the trade-offs between them are a bit confusing. Are there any recommended resources or general advice for beginners like myself trying to navigate API design choices? |
|
The best way to think of an APIs design is; why do you need an API in the first place. Creating an API for the sake of having an API is what leads to terrible APIs. Instead design your API for its use case, and if you have multiple use-cases - maybe you need multiple APIs, or a more clever API design that blends well