What is the best option for writing GraphQL APIs using Django in 2023?

This page summarizes the projects mentioned and recommended in the original post on /r/django

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
  • graphene-django

    Build powerful, efficient, and flexible GraphQL APIs with seamless Django integration.

    I've used Graphene + Graphene Django to write GraphQL APIs for several years now, but graphene-django unfortunately seems to (mostly) be abandoned now.

  • strawberry-graphql-django

    Strawberry GraphQL Django extension

    For django it should be used with strawberry-graphql-django and strawberry-django-plus. The latter provide an automatic query optimiser to handle the N+1 problem.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • strawberry-django-plus

    Enhanced Strawberry GraphQL integration with Django

    For django it should be used with strawberry-graphql-django and strawberry-django-plus. The latter provide an automatic query optimiser to handle the N+1 problem.

  • strawberry

    A GraphQL library for Python that leverages type annotations 🍓

    Currently happily using strawberry-graphql for a small project.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts