Use Case
Frontend and backend are separate repos. You want one workspace to run both processes and keep browser sessions aligned.
Documentation
Use this when frontend and backend live in different projects but you want one active workspace context for both.
Frontend and backend are separate repos. You want one workspace to run both processes and keep browser sessions aligned.
Ports: FRONTEND_PORT, BACKEND_PORT
Process: API_URL=http://localhost:$BACKEND_PORT PORT=$FRONTEND_PORT npm run dev
Browser Session: http://localhost:$FRONTEND_PORTThe frontend workspace must own both ports if it is the central context for both services.
cd /path/to/backend-project && python manage.py runserver 0.0.0.0:$BACKEND_PORTAdd this as a workspace-level process in the frontend workspace so both processes receive the same reserved env vars.
http://localhost:$FRONTEND_PORT and backend/admin URLs consistently.curl -fsS http://localhost:$FRONTEND_PORT
curl -fsS http://localhost:$BACKEND_PORT/healthDetects partial outage early and helps avoid chasing frontend symptoms caused by backend failure.