How do you manage typing between Django backend and a TypeScript frontend?

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

Our great sponsors
  • Sonar - Write Clean Python Code. Always.
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • InfluxDB - Access the most powerful time series database as a service
  • django-mini-fastapi

    A minimal FastAPI implementation for Django !

  • Paste JSON as Code • quicktype

    Xcode extension to paste JSON as Swift, Objective-C, and more

    I actually worked in a company that used this, my work involved doing the frontend with nextjs, so basically I’d use to create the types for the api written in Django, not the best process considering that there’s this amazing library called tRPC that merges front and back altogether end to end type safe

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • pydantic

    Data validation using Python type hints

    I'd suggest checking out Pydantic if you haven't already:

  • django-ninja

    💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

    But it seems that its doing what django-ninja is doing. Is there any difference between these 2 packages?

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