How stcdenys19/epilepsy-research-platform works
This is an early-stage epilepsy patient-management and neuroscience research platform. The visible user journey is registration or login, followed by role-specific dashboards and navigation into patient, appointment, record, research, and Virtual Lab areas. The README documents backend authentication, persistence, proposal/document handling, email, and prediction forwarding, while cautioning that frontend screens may be scaffolding. Backend implementation files were not present in the supplied tree, so those nodes use the documented backend source directory; unsampled frontend capabilities are represented without speculative internal call edges.
Main entry points: App.jsx Application routes · src REST services · Register.jsx Registration · Login.jsx Login
Components 26
Access and navigation
- Registration
frontend/src/register/Register.jsx - Login
frontend/src/login/Login.jsx - Auth context
frontend/src/components/AuthContext.jsx - Application routes
frontend/src/App.jsx - Role dashboards
frontend/src/components/dashboard - Dashboard shell
frontend/src/components/dashboard/Dashboard.jsx - Role navigation
frontend/src/components/layout/Sidebar.jsx
Clinical workflows
- Appointments
frontend/src/components/appointments - Patient management
frontend/src/components/patients - Medical records
frontend/src/components/medical_records - Analytics
frontend/src/components/analytics/Analytics.jsx
Research workspace
- Research projects
frontend/src/components/research/projects/Projects.jsx - Research datasets
frontend/src/components/research/datasets/Datasets.jsx - Research community
frontend/src/components/research - Proposal workflow
frontend/src/components/ProposalCard.tsx - Virtual Lab
frontend/src/components/virtual_lab/VirtualLab.jsx - Social and chat
frontend/src/components/social/Social.jsx - Notifications
frontend/src/components/notifications/Notifications.jsx
Platform services
- REST services
backend/src - PostgreSQL persistence
backend/src - Email delivery
backend/src - Proposal documents
backend/src - Prediction endpoint
backend/src
Computational work
- Python prediction service
- Deep-learning work
deep_learning/main.py
Other components
- Platform user
Connections 25
- Platform user → Registration: signs up
- Platform user → Login: signs in
- Registration → REST services: registers via HTTP
frontend/src/register/Register.jsx - Login → REST services: authenticates via HTTP
frontend/src/login/Login.jsx - Registration → Auth context: sets authenticated
frontend/src/register/Register.jsx - Login → Auth context: sets authenticated
frontend/src/login/Login.jsx - Application routes → Auth context: wraps routes
frontend/src/App.jsx - Application routes → Role dashboards: routes by role
frontend/src/App.jsx - Role dashboards → Dashboard shell: renders shell
frontend/src/components/dashboard/researcher_dashboard/ResearcherDashboard.jsx - Dashboard shell → Role navigation: renders navigation
frontend/src/components/dashboard/Dashboard.jsx - Application routes → Appointments: routes to
frontend/src/App.jsx - Application routes → Patient management: routes to
frontend/src/App.jsx - Application routes → Medical records: routes to
frontend/src/App.jsx - Application routes → Analytics: routes to
frontend/src/App.jsx - Application routes → Research projects: routes to
frontend/src/App.jsx - Application routes → Research datasets: routes to
frontend/src/App.jsx - Application routes → Research community: routes to
frontend/src/App.jsx - Application routes → Virtual Lab: routes to
frontend/src/App.jsx - Application routes → Social and chat: routes to
frontend/src/App.jsx - Application routes → Notifications: routes to
frontend/src/App.jsx - REST services → PostgreSQL persistence: persists records
README.md - REST services → Email delivery: sends verification email
README.md - REST services → Proposal documents: handles proposal PDFs
README.md - REST services → Prediction endpoint: exposes endpoint
README.md - Prediction endpoint → Python prediction service: forwards request
README.md