Skip to content

Add Flask backend and React frontend skeleton for parental control dashboard#3

Open
echska wants to merge 1 commit into
mainfrom
codex/create-empty-project-structure-jhk39j
Open

Add Flask backend and React frontend skeleton for parental control dashboard#3
echska wants to merge 1 commit into
mainfrom
codex/create-empty-project-structure-jhk39j

Conversation

@echska
Copy link
Copy Markdown
Owner

@echska echska commented May 9, 2026

Motivation

  • Introduce an initial MVP for a unified parental control system consisting of a lightweight ingestion backend and a browser dashboard to visualize calls, messages, locations, and notifications.
  • Provide a simple file-backed storage mechanism so ingested data can be persisted locally as JSON vault files for development and demos.
  • Prepare application for simple deployment by adding a render.yaml service definition.

Description

  • Add a Flask backend (parental-control-system/backend/main.py) exposing a health check and API endpoints POST /api/v1/sync for ingesting payloads and GET /api/v1/data/<category> for reading stored items, using local JSON files under the backend directory for storage.
  • Create initial vault files (vault_calls.json, vault_messages.json, vault_locations.json, vault_notifications.json) and add helpers ensure_storage_files, read_items, and write_items to manage them.
  • Scaffold a React frontend (parental-control-system/frontend) with package.json, tailwind.config.js, src/pages/Dashboard.js, and multiple UI components including CallsTable, MessagesTable, LocationsMap (using leaflet), LocationsTimeline, AlertsPanel, and placeholder panels for WhatsApp, Instagram, and RouterMonitor.
  • Add a small API client src/services/api.js with fetchCategory to query the backend, and a deployment descriptor render.yaml to run the backend as a web service.

Testing

  • No automated tests were executed for these changes.

Codex Task

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 68349d239e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread render.yaml
Comment thread parental-control-system/frontend/package.json
Comment thread parental-control-system/frontend/src/services/api.js
@echska echska self-assigned this May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant