Wednesday, November 6, 2019

Best Practices for Designing a Pragmatic RESTful API

Your data model has started to stabilize and you're in a position to create a public API for your web app. You realize it's hard to make significant changes to your API once it's released and want to get as much right as possible up front. Now, the internet has no shortage on opinions on API design. But, since there's no one widely adopted standard that works in all cases, you're left with a bunch of choices: What formats should you accept? How should you authenticate? Should your API be versioned?
In designing an API for Enchant (a Zendesk Alternative), I've tried to come up with pragmatic answers to these questions. My goal is for the Enchant API to be easy to use, easy to adopt and flexible enough to dogfood for our own user interfaces.

Must read books to be a better software engineer.

1. The Pragmatic Programmer 

2. Clean Code: A Handbook of Agile Software Craftsmanship

3. The Clean Coder

4. Patterns of Enterprise Application Architecture

5. Enterprise Integration Patterns

6. Head First Design Pattern

7.Design Patterns