A Flask backend and React frontend configured for deployment on Render.
Use the button below to deploy this repository to Render:
parental-control-system/backendparental-control-system/frontendSet 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 to 1 for 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 5000
Start the frontend in another terminal:
cd parental-control-system/frontend
npm install
npm start
Use dev-token on the sign-in screen.