Hasura Django Starter

screenshot of Hasura Django Starter
django

The best of Hasura's instant, realtime GraphQL API meshed with Django's built-in auth model and the ability to extend logic across the two services.

Overview

The Hasura + Django Starter (HDS) is a powerful framework that seamlessly integrates Hasura's dynamic GraphQL capabilities with Django's robust authentication and web framework features. This combination allows developers to create applications that leverage real-time data and advanced backend capabilities, enhancing both the speed and effectiveness of the development process. With the latest update, HDS introduces significant improvements and features that cater to modern application needs.

Being equipped with the latest Hasura 2.0+, the HDS offers a refined development experience. It simplifies the creation of powerful applications by allowing Django to manage user authentication while Hasura effortlessly generates GraphQL APIs, making your development workflow not only efficient but also enjoyable.

Features

  • Auto-Generated GraphQL API: Instantly create GraphQL APIs for any Postgres database without breaking a sweat.
  • Database Management UI: Utilize an intuitive user interface to manage your database more effectively.
  • Row-Level Permissions: Implement a robust permission management system that controls access to individual rows in your database.
  • Advanced Action Logic: Easily map Django REST endpoints to GraphQL nodes while using Hasura actions for more complex logic.
  • Django Authentication Flows: Out-of-the-box support for user registration, login, and password reset via REST APIs.
  • Custom JWT Tokens: Leverage JSON Web Tokens with custom claims integrated from Django’s authentication system.
  • Client Sample Application: Access a demo application built with Svelte that showcases user management and authentication.
  • Health Checks for Docker: Ensure that your migration processes run smoothly with built-in health checks added to Docker Compose.
django
Django

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It follows the model-view-controller (MVC) architectural pattern, providing an extensive set of built-in tools and conventions to streamline the creation of robust and scalable web applications.

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.

hasura
Hasura

Hasura is a GraphQL engine that provides instant, realtime GraphQL APIs over your databases. It offers built-in authorization, event triggers, and remote schemas to help developers build scalable GraphQL backends without writing any backend code.