When designing an API for your Application Frontend, what is your rule of thumb?
For further actions, you may consider blocking this person and/or reporting abuse
When designing an API for your Application Frontend, what is your rule of thumb?
For further actions, you may consider blocking this person and/or reporting abuse
Lars-Erik Bruce -
Notarena -
sunny -
Sonay Kara -
Top comments (8)
These are some rules i apply that may not suit everyone:
Make it save for ways you dont think about in the first way.
Don't make me think.
Keep it consistent. (Used patterns and naming)
Don't make the frontend do the data processing.
Do one task, and do it right, don't overthink it.
If you want a rule that's less verbal and more technical, refer to SOLID principles.
Make it functional not technical, because the underlying technic can change more often than the desired function.
Use the Open API standard with Swagger to simplify documentation and allow developers and users to work with it in a meaningful way.
Modularity. Each part has its own resposaility (easy to maintain)