Create a .env file in the root directory of this example with content below,
DJANGO_SECRET_KEY='django-insecure--oe!c8quc8k@5vr+b=1cqwpzge*%gvr*r$uycx@7fx0xlc%g#8'
Create a Python virtual environment by using uv,
uv venv .venvThen install the required packages,
uv syncThen start Django and visit http://127.0.0.1:8000
python manage.py runserverCreate a node environment with webpack, which compiles React, React-dom and React flow into bundle.js and integrates into Django template.
Create node environment,
cd reactflow
npm installThen start a new terminal session for watching and compiling,
npm run dev