GraphQL with Django : advisable or not?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • strawberry

    A GraphQL library for Python that leverages type annotations 🍓

  • There are a few other frameworks out there like Ariadne and Strawberry. I haven't tried them out as both seemed also quite new and immature and I imagine I'd run into the same performance issues with them.

  • graphene-django

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

  • in my last project I used graphene to build a Django backend application with GraphQL. It seemed like the best framework to adopt graphql in python at that time in terms of stability and maturity.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • graphene-django-optimizer

    Optimize database access inside graphene queries

  • The N+1 problem is going to exist no matter what framework or approach you use, even if you switch to REST. There exists a N+1 optimizer for graphene that will read your queries and prefetch/select the relevant fields to make things easier.

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