How ropperp/eeg-platform works
EEG-Plattform is a multi-tenant SaaS for renewable-energy communities. Members and managers enter through the web portal; managers administer members, import metering data and handle billing, while members view consumption and invoices. Public dashboards expose aggregated live data, and a separate control center administers platform services. Assembly records, support, authentication and PDF generation are distinct product capabilities. The README documents the broad product flows; sampled source confirms routing, assembly handling and selected service wiring, but not every subsystem’s runtime links.
Main entry points: portal.php Portal routes · Router.php Request router · App.php Platform control center · index.php Web entry point
Components 19
Web experience
- Web entry point
webapp/public/index.php - Request router
webapp/src/Router.php - Portal routes
webapp/routes/portal.php - API routes
webapp/routes/api.php - Live dashboard
webapp/src/LiveStatsCache.php
Community operations
- Member management
webapp/routes/portal.php - Billing
webapp/src/Billing.php - Assembly records
webapp/src/Domain/Assembly/AssemblyService.php - Support tickets
webapp/src/Domain/Support/SupportTicketService.php
Data and documents
- EDA import
webapp/src/Domain/EdaImport/EdaImportJobs.php - EDA parser
eda-parser/parser.py - Metering ingest
mqtt-subscriber/main.py - PDF generation
latex-service/service.js - Platform database
webapp/src/DB.php
Identity and access
- Authentication
webapp/src/Auth.php - Keycloak identity
webapp/src/Infrastructure/Auth/KeycloakOidc.php
Platform services
- Platform control center
konsole/src/App.php
Other components
- Members and managers
- Web requests
Connections 19
- Members and managers → Web requests: submit requests
- Web requests → Web entry point: enters through
webapp/public/index.php - Web entry point → Request router: dispatches to
webapp/public/index.php - Request router → Portal routes: routes portal
- Request router → API routes: routes API
- Portal routes → Authentication: checks login
webapp/routes/portal.php - Members and managers → Keycloak identity: authenticates with
- Portal routes → Member management: offers management
webapp/routes/portal.php - Portal routes → Billing: handles billing
webapp/routes/portal.php - Portal routes → EDA import: manages imports
webapp/routes/portal.php - EDA import → EDA parser: parses EDA data
- Metering ingest → Platform database: writes measurements
- Live dashboard → Platform database: reads aggregates
- Members and managers → Live dashboard: views public data
- Portal routes → Assembly records: manages assemblies
- Assembly records → PDF generation: renders documents
- Portal routes → Support tickets: handles support
- Platform control center → Keycloak identity: integrates SSO
konsole/src/App.php - Platform control center → Members and managers: serves administrators