API First Design and Django

Klaus Laube

Let's mess around with contracts, {over,under}fetching and Developer eXperience when creating APIs.

When creating an API endpoint in Django, some questions are asked less frequently: What about the contract? What about a possible overfetching (or underfetching)? What about the developer that is going to use the endpoint? Let's look for these aspects when creating an API using Django.

Django Day flying pony and books illustration by Sara - https://aspigirlcodes.github.io/