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 /r/django

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. django-mini-fastapi

    A minimal FastAPI implementation for Django !

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. 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 https://quicktype.io 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

  4. pydantic

    Data validation using Python type hints

    I'd suggest checking out Pydantic if you haven't already: https://docs.pydantic.dev/

  5. 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

  • Pydantic: The end of manual validations! ✨

    4 projects | dev.to | 23 Nov 2024
  • Show HN: Griffe, load Python APIs, find breaking changes

    1 project | news.ycombinator.com | 15 Jul 2024
  • Build Performant APIs, Light, Flexible and Extensible ASGI API Framework

    1 project | news.ycombinator.com | 4 Jul 2024
  • JSON extra uses orjson instead of ujson

    4 projects | news.ycombinator.com | 5 Jun 2024
  • Litestar: Production-Ready, Light, Flexible and Extensible ASGI API Framework

    1 project | news.ycombinator.com | 2 Jun 2024

Did you know that Python is
the 2nd most popular programming language
based on number of references?