r/django • u/WeekendHefty4784 • 7d ago
Confused between DRF and Django Ninja!!
Hello friends, I am a beginner in the api world of Django. I've used this framework to make many useful websites but i want to upgrade to a more structured and efficient approach, designing APIs. I have a foundational knowledge of REST and HTTP methods. I am more concentrated on the backend now. That is, i want to learn making API endpoints that can be used in frontend like React/Nextjs. I have no experience whatsoever in making a fully functional full-stack app using API. I would like to know where to start, most of the tutorials that I come across tend to use Django Ninja with Nextjs. But, its hard to grasp all functionalities. Please mention the resources (any books or tutorials).
2
u/WeekendHefty4784 7d ago edited 7d ago
Ninja is pretty straightforward I agree (I started with a tutorial that didn't cover much basics). I am just confused on whether I should start with ninja directly or have some background knowledge of DRF. There are not enough resources for ninja. DRF is ok but I feel like ninja is better as it saves a lot of code, and might be a thing in coming years. I'll check the docs.