django-typescript-routes

Generate Typescript routes from a Django URLconf (by buttondown)

Django-typescript-routes Alternatives

Similar projects and alternatives to django-typescript-routes

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better django-typescript-routes alternative or higher similarity.

django-typescript-routes reviews and mentions

Posts with mentions or reviews of django-typescript-routes. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-04.
  • Django 5.0 Is Released
    11 projects | news.ycombinator.com | 4 Dec 2023
    I'll preface all of this with a couple esoteric design goals that I had in mind:

    1. I actually _want_ an SPA. You might not need an SPA, if you don't need one then Vue/React/etc are overkill, etc.

    2. I want to power as much of the SPA as I can using the same REST API as my core product, both for dogfooding reasons and for consolidation. Many people might argue that this is a bad idea.

    ---

    With that in mind, some specific packages that I highly recommend:

    1. Django-vite (https://github.com/MrBin99/django-vite). This makes it very easy to serve an SPA from the actual django response/request model

    2. Some sort of way to get type information (if you're using TypeScript) into the frontend. I use a frankensteined system of the OpenAPI spec that django-ninja generates + openapi-typescript (https://github.com/drwpow/openapi-typescript). This means when I add, say, a new field to a response in Django, I immediately get typechecking for it in Vue — which has been _tremendously_ useful.

    3. Django-typescript-routes (a package I extracted and open-sourced!: https://github.com/buttondown-email/django-typescript-routes) which gives your front-end routing information based on the Django router.

Stats

Basic django-typescript-routes repo stats
1
18
4.7
9 months ago

buttondown/django-typescript-routes is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of django-typescript-routes is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com