About This Talk
So you’ve made your first attempt at creating a DRF API, but now you need to figure out how to put the hair on the proverbial pony. You want to make things easier on your client developers so they can get exactly what they need. I’ll walk through things that made our lives better developing a Django REST Framework API serving a React frontend.
I’ll include optimizations such as embedding related fields into serializers,
using different serializers for different users and use cases (HTTP methods),
and using DRF’s
actions decorator to provide easy access to related tasks.
I’ll also touch on some third-party libraries that made life way easier, such
Drew is a software engineer currently residing in Huntsville, Alabama, USA. He has experience working in various industries including IoT, defense, advertising, and cloud hosting. He’s built DRF APIs from scratch at two separate jobs. When not coding, he spends time with his wife, daughter, two dogs, and one cat as well as brewing beer, hiking, cooking, and watching various sports.