django-rest-cli
django-ninja
Our great sponsors
django-rest-cli | django-ninja | |
---|---|---|
2 | 58 | |
112 | 4,164 | |
0.9% | - | |
3.7 | 9.3 | |
10 months ago | 8 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-rest-cli
-
DR-CLI: A Flexible Cookie cutter and CRUD Endpoints Generator for Django
You'd be prompted to start your project from one of three templates: Basic, Medior, and Advanced templates. Learn more about what each template comes bundled with here.
django-ninja
-
Yo Mama Jokes API
I honestly just followed the tutorial on https://django-ninja.rest-framework.com/ because I read about it and wanted to test it out / learn something new.
-
Portable Django
I find https://django-ninja.rest-framework.com/ even more awesome these days because it natively integrates with Django ORM, which I prefer over alternatives such as SQLAlchemy.
-
Learning Django as a non-beginner code/python
If you've used FastAPI before, you should check out django-ninja for your views and just familiarize yourself with the Django ORM to do database operations (e.g. https://docs.djangoproject.com/en/4.1/topics/db/queries/). That'll probably get you 80% of what you need.
-
Django Tech Stacks
My stack is now django-ninja (instead of DRF) and Vuejs 3 with Typescript for the single page app frontend. I have a starter template with this stack if you want to check it out
-
Ask HN: What would be your stack if you are building an MVP today?
Nowadays, Django has an amazing library which is a lot like FastAPI but in the Django ecosystem.
https://django-ninja.rest-framework.com/
It's absolutely wonderful. I would use that in a MVP, and do the F/E in NextJS + Typescript.
-
How do you manage typing between Django backend and a TypeScript frontend?
But it seems that its doing what django-ninja is doing. Is there any difference between these 2 packages?
-
Looking for Django recommendations about frontend layer
A modern alternative to DRF to build apis in Django is django-ninja. It is very simple to use and it takes advantage of the Pydantic schemas for validation and provides an auto-generated api doc. It is less complex than DRF. I recently made a template repo using this stack. It includes Django forms support in the Vuejs frontend. The Django config was made using django-vitevue that can help configuring a Vitejs frontend quickly.
-
Should you always use DRF when using Django as a backend for mobile apps?
Django ninja strawberry Graphene
Personally, I now prefer django-ninja for my APIs. I think it's structured better, faster to get started with and more comprehensible than DRF.
-
is it a good idea to integrate Flask/FastAPI to Django?
While I think it's a bad idea, I wonder if you could add Django Ninja and that would be good enough.
What are some alternatives?
django-rest-framework - Web APIs for Django. 🎸
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
fastapi-admin - A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin
drf-spectacular - Sane and flexible OpenAPI 3 schema generation for Django REST framework.
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Django - The Web framework for perfectionists with deadlines.
cookiecutter-django - Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
fastapi-fullstack-boilerplate - A full stack (monolith) boilerplate for FastAPI
django-debug-toolbar - A configurable set of panels that display various debug information about the current request/response.
django-async-orm - Bringing Async Capabilities to django ORM
htmx - </> htmx - high power tools for HTML