How isaacescobar0100/sednp works
SIG-SERDNP is a functional union-management simulator with role-based workflows for union officers and an affiliate portal. The main workflow is sign-in or public enrollment, followed by role-appropriate management of affiliation, finances, governance, discipline, and member services; shared application state supports those modules. The README describes browser persistence, while sampled source also shows Supabase authentication, storage, and API-backed services, so the graph reflects both. Some module connections are documented rather than source-verified; unsampled implementations are not inferred beyond those documented capabilities.
Main entry points: App.tsx Application router · FinancieroPage.tsx Finance · DemoStore.tsx Shared application state · AfiliacionPage.tsx Affiliation
Components 25
Entry and access
- Application router
src/App.tsx - Authentication
src/store/auth.tsx - Roles and permissions
src/store/session.tsx - Public site
src/components/PublicSite.tsx - Public enrollment
src/pages/PublicRegistroPage.tsx
Union operations
- Dashboard
src/pages/DashboardPage.tsx - Affiliation
src/pages/AfiliacionPage.tsx - Finance
src/pages/FinancieroPage.tsx - Discipline
src/pages/DisciplinarioPage.tsx - Governance
src/pages/GobernanzaPage.tsx - Committees
src/pages/ComitesPage.tsx
Member services
- Document repository
src/pages/DocumentalPage.tsx - Communications
src/pages/ComunicacionesPage.tsx - Affiliate portal
src/pages/AfiliadoPortal.tsx - Reports and export
src/pages/ReportesPage.tsx - Union parameters
src/pages/ParametrosPage.tsx
State and domain rules
- Shared application state
src/store/DemoStore.tsx - Affiliation rules
src/store/affiliates.ts - Finance rules
src/store/finance.ts - Contribution rules
src/store/contributions.ts
External services
- File storage client
src/store/storageApi.ts - Supabase
src/lib/supabase.ts - Email service client
src/store/emailApi.ts
Other components
- Union officers
- Affiliate
Connections 31
- Union officers → Application router: use system
README.md - Affiliate → Application router: use portal
README.md - Application router → Authentication: provides access
src/App.tsx - Application router → Public site: shows public site
src/App.tsx - Application router → Public enrollment: routes enrollment
src/App.tsx - Application router → Affiliate portal: routes portal
src/App.tsx - Application router → Roles and permissions: sets role context
README.md - Union officers → Affiliation: register and approve
README.md - Union officers → Finance: manage finances
README.md - Union officers → Discipline: manage cases
README.md - Union officers → Governance: manage governance
README.md - Union officers → Committees: manage committees
README.md - Union officers → Document repository: manage documents
README.md - Union officers → Communications: send communications
README.md - Union officers → Reports and export: view reports
README.md - Union officers → Union parameters: manage parameters
README.md - Affiliate → Affiliate portal: view member services
README.md - Affiliation → Shared application state: updates state
README.md - Finance → Shared application state: updates state
README.md - Discipline → Shared application state: uses shared state
README.md - Governance → Shared application state: uses shared state
README.md - Affiliate portal → Shared application state: reads member data
README.md - Affiliation → Affiliation rules: uses rules
src/pages/AfiliacionPage.tsx - Finance → Finance rules: uses calculations
src/pages/FinancieroPage.tsx - Finance → Contribution rules: reads contribution data
src/pages/FinancieroPage.tsx - Finance → File storage client: uploads and opens files
src/pages/FinancieroPage.tsx - File storage client → Supabase: uses storage
src/store/storageApi.ts - Authentication → Supabase: authenticates and loads profile
src/store/auth.tsx - Affiliation → Email service client: sends notices
src/pages/AfiliacionPage.tsx - Email service client → Supabase: gets session token
src/store/emailApi.ts - Email service client → Union officers: requests email delivery
src/store/emailApi.ts