๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ถ๐—ป๐—ด ๐—”๐—ฃ๐—œ๐˜€ ๐——๐—ฒ๐˜ƒ๐—ฒ๐—น๐—ผ๐—ฝ๐—ฒ๐—ฟ๐˜€ ๐—Ÿ๐—ผ๐˜ƒ๐—ฒ

Great APIs feel obvious. You should not guess endpoints. Request formats should make sense. Errors should tell you what to fix.

Start with the user experience. Draft your API before writing code. Ask what endpoints make sense. Ask what responses look like.

Follow these rules:

Build for the future:

Fix your error messages:

Improve documentation:

Add these features:

Avoid the biggest mistake. Do not design for your database. Do not design for your server. Design for the user mental model.

Source: https://dev.to/therizwansaleem/how-to-design-apis-that-developers-love-to-use-4ae5