Demo for a decoupled, full stack React/Django Todo application. Code taken from here. This version has adapted that code to use funciton-based React components.
- Set up a
venv
folder in the project's root directory:python -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the Python dependencies:
pip install -r reqs.txt
- Install React dependencies (from
frontend
directory):yarn install
- From the root directory:
cd backend
- Run the backend:
python manage.py runserver
- From the root directory:
cd frontend
yarn start