App APIs — 10 Key Things Developers Must Know

Image for post
Image for post

App APIs or app islands?

1. Don’t reinvent the (RESTful API) architecture

2. Choose explanatory API URL endpoints

GET → /beers
POST → /beers
GET → /beers/{beerId}
PUT → /beers/{beerId}
PATCH → /beers/{beerId}
DELETE → /beers/{beerId}
GET → /beers/{beerId}/brand
GET → /users/{userId}
GET → /users/{userId}/favoriteBeers
/getBeers
/createNewBeer
/addBeerToFavorite
/addNewUser
/returnBeer/{beerId}

3. Version your app APIs

GET → /v1/beers
GET → /v2/beers

4. Assign heavy lifting to server

5. Prioritize performance and scalability

6. Use standard security protocols and user authentication

7. Use three back-end environments

8. Let the data determine the database

9. API responses should be clear

10. API responses should be efficient

Need help with your app APIs?

We help companies forge meaningful connections with their customers and employees through lovable apps and digital products. Learn more at arctouch.com.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store