2 ms·
Nowadays, Django has an amazing library which is a lot like FastAPI but in the Django ecosystem. https://django-ninja.rest-framework.com/ https://django-ninja.
by scrollaway 4y ago
Nowadays, Django has an amazing library which is a lot like FastAPI but in the Django ecosystem.
https://django-ninja.rest-framework.com/ 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.
- physicsguy 4y agoI’m familiar with it, and I don’t love DRF but the downside with Ninja is that you end up writing a lot more boilerplate IMO. Unless you’re strongly optimising for performance (and usually latency and the database are the biggest issues there), you can get away with ModelSerializer and DRF ViewSets a lot of the time for APIs and write very little code.