I want to use Django for Backend and React for Frontend for an Inventory project.
Does anyone have an example or experience can me share to guide me?
I want to use Django for Backend and React for Frontend for an Inventory project.
Does anyone have an example or experience can me share to guide me?
Yes, it works great! Django handles the backend as a REST API (using Django REST Framework) and React consumes it on the frontend.
The setup is straightforward — install djangorestframework and django-cors-headers, expose your API endpoints, then fetch from React with fetch or axios. That’s basically it.
The DRF quickstart docs are a solid starting point.
Also found this thread that might help you
Thank you @amourivoid