Simple setup for a React-Django web app. See tutorial here: https://alphacoder.xyz/dead-simple-react-django-setup.
- Download/clone repo.
- Create and activate a virtual environment.
- Install Django and other dependencies with
pip install -r requirements.txt. - Run Django app using
python manage.py runserver. - Install React dependencies with
npm install. - Run React app with
npm start. - Build React app using
npm run build.
Read my tutorial on deploying this app to Heroku here: https://alphacoder.xyz/deploy-react-django-app-on-heroku.