DjangoCon US 2023

Thiago Bellini Ribeiro

I'm a 35-year-old software developer based in Ribeirão Preto, Brazil with a passion for Python programming. Since embarking on my software development journey in 2007, I've honed my skills and specialized in Python development since 2011. Over the years, I've collaborated on numerous Python-based applications, always striving to contribute to the open-source community in meaningful ways.

One of my proudest achievements was developing the strawberry-django-plus project in 2021. Additionally, I was appointed as the official maintainer of the Strawberry-Django integration in 2022. My dedication to the open-source community reflects my commitment to improving software development for everyone.

Beyond my professional pursuits, I'm known for my positive attitude and willingness to assist others in the community. I enjoy engaging with others and fostering meaningful connections to help propel the industry forward.


URL

http://bellini.dev

Twitter handle

_bellini666


Session

10-17
11:10
45min
Building high-performance, type-safe GraphQL APIs with Strawberry and Django
Thiago Bellini Ribeiro

GraphQL has gained popularity for its ability to offer more flexibility and performance over traditional REST APIs. Strawberry is a new and fast-growing GraphQL library for Python, inspired by dataclasses functionality, that offers a modern and intuitive API for building GraphQL APIs using type hints.

In this talk, we will explore the basics of building a GraphQL API with Strawberry and how it can be integrated with Django in a performant and type-safe way, by generating its types and resolvers directly from Django models. We will also compare and contrast the benefits and drawbacks of GraphQL versus REST APIs, including how GraphQL can help improve frontend development workflows.

Attendees will come away with an understanding of how Strawberry can help simplify the process of building and maintaining GraphQL APIs, and how to use its powerful features to optimize for performance, safety, and flexibility, while also covering its drawbacks and how to avoid some common issues.

General
Grand Ballroom II-III