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
Arindam Majumder -
Mitchell Mutandah -
Slobi -
Paulund -
Oldest comments (8)
Make it save for ways you dont think about in the first way.
Make it functional not technical, because the underlying technic can change more often than the desired function.
Don't make me think.
These are some rules i apply that may not suit everyone:
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.
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)