A Flask backend and React frontend configured for deployment on Render.
Use the button below to deploy this repository to Render:
- Backend: Flask API served with Gunicorn from
parental-control-system/backend - Frontend: React static site built from
parental-control-system/frontend
Set DASHBOARD_API_TOKEN on the backend before using the dashboard. The frontend sign-in screen asks for the same token and sends it as a bearer token when loading or syncing dashboard data.
Optional backend configuration:
CORS_ORIGINS: comma-separated list of allowed frontend origins. Use*only for local development.PYTHONUNBUFFERED: set to1for clearer container logs.
The backend health endpoint is:
/health
Start the backend:
cd parental-control-system/backend
DASHBOARD_API_TOKEN=dev-token flask --app main run --host 0.0.0.0 --port 5000Start the frontend in another terminal:
cd parental-control-system/frontend
npm install
npm startUse dev-token on the sign-in screen.