This is an example implementation of a fully React-rendered frontend in Django
It was intended for reference of a Django meetup talk. You might find the slides at Slideshare helpful
- Clone repo
- Install python requirements and activate virtualenv with
pipenv sync && pipenv shell
- Run migrations and start devserver:
cd django_project
./manage.py migrate
./manage.py loaddata data/questions.json
./manage.py runserver
- run
cd frontend && npm i
- run
npm run build
to build javascript assets to django - run
npm start
to start the local devserver on :7001
More details of different commands/configuration in frontend/readme.md
... TODO ...