I'm in the process of refactoring a rather basic/traditional Django webapp to a more modern React-plus-Django-REST setup. I'm far more familiar with Django than React, so where to put the React part is what's confusing to me.
My question is: what are the best practices for folder structure in using both Django and React? Ideas I've had:
Put all React files in their own folder like this:
. ├── app1 │ └── example-files.py ├── app2 │ └── example-files.py ├── manage.py ├── react-django-project │ ├── settings.py │ └── urls.py ├── requirements.txt ├── some-app-1 │ └── example-files.py ├── some-app-2 │ └── example-files.py ├── src │ └── components │ ├── component1.js │ └── component2.js └── ...Put all React files in the static folder, but this doesn't seem right to me.
Is there an established set of best practices for this?