How aldrin-palado/peso-mabini---copy works
PESO is a job-matching and employment-services web application for job seekers, employers, and public employment staff. The main user journey is to browse vacancies, register or sign in, manage a job-seeker profile, and apply; role-specific dashboards provide employer and administrative workflows. Supabase supplies application data and authentication, while the repository also includes AI assistance and Gmail-backed messaging integrations. The map follows routes and imports visible in the excerpts and SOURCE INDEX; several substantial modules are unsampled, so their internal interactions are not inferred.
Main entry points: App.tsx Application router · supabase.js Supabase client · JobSeekerDashboard.tsx Job seeker dashboard · gmail.ts Gmail shared services
Components 21
Web entry and access
- Application router
peso-app/src/App.tsx - Public job portal
peso-app/src/pages - Sign-in and registration
peso-app/src/components/Login.tsx - Session management
peso-app/src/components/SessionTimeout.tsx
Job seeker services
- Job seeker dashboard
peso-app/src/dashboards/JobSeekerDashboard.tsx - Vacancy search and applications
peso-app/src/jobseekersmodules/JobsModule.tsx - Seeker feature modules
peso-app/src/jobseekersmodules - Profile and resume services
peso-app/src/services/jobSeekerProfile.ts - AI assistant interface
peso-app/src/jobseekersmodules/AIChatbotModule.tsx
Employer and PESO operations
- Admin dashboard
peso-app/src/dashboards/AdminDashboard.tsx - Staff dashboard
peso-app/src/dashboards/StaffDashboard.tsx - Employer dashboard
peso-app/src/dashboards/EmployerDashboard.tsx - Admin management modules
peso-app/src/adminmodules - Employer modules
peso-app/src/employersmodules
Data and integrations
- PESO AI service
peso-app/src/services/pesoAi.ts - Supabase client
peso-app/src/services/supabase.js - Supabase platform
- Gmail integration functions
peso-app/supabase/functions - Gmail shared services
peso-app/supabase/functions/_shared/gmail.ts - Google Gmail
Other components
- Visitor or user
Connections 25
- Visitor or user → Application router: opens
peso-app/src/App.tsx - Application router → Public job portal: routes to
peso-app/src/App.tsx - Application router → Sign-in and registration: routes to
peso-app/src/App.tsx - Application router → Session management: mounts
peso-app/src/App.tsx - Application router → Admin dashboard: routes to
peso-app/src/App.tsx - Application router → Staff dashboard: routes to
peso-app/src/App.tsx - Application router → Employer dashboard: routes to
peso-app/src/App.tsx - Application router → Job seeker dashboard: routes to
peso-app/src/App.tsx - Admin dashboard → Admin management modules: renders modules
peso-app/src/dashboards/AdminDashboard.tsx - Job seeker dashboard → Vacancy search and applications: renders module
peso-app/src/dashboards/JobSeekerDashboard.tsx - Job seeker dashboard → Seeker feature modules: renders modules
peso-app/src/dashboards/JobSeekerDashboard.tsx - Job seeker dashboard → Profile and resume services: checks completeness
peso-app/src/dashboards/JobSeekerDashboard.tsx - Vacancy search and applications → Profile and resume services: uses profile service
peso-app/src/jobseekersmodules/JobsModule.tsx - AI assistant interface → PESO AI service: calls
peso-app/src/jobseekersmodules/AIChatbotModule.tsx - Public job portal → Supabase client: uses data client
peso-app/src/pages/Home.tsx - Vacancy search and applications → Supabase client: reads and writes
peso-app/src/jobseekersmodules/JobsModule.tsx - Sign-in and registration → Supabase client: authenticates
peso-app/src/components/Login.tsx - Session management → Supabase client: checks session
peso-app/src/components/SessionTimeout.tsx - Supabase client → Supabase platform: accesses
peso-app/src/services/supabase.js - Gmail integration functions → Gmail shared services: uses shared services
peso-app/supabase/functions/gmail-inbox/index.ts - Gmail integration functions → Gmail shared services: uses sync services
peso-app/supabase/functions/contact-message/index.ts - Gmail shared services → Supabase platform: accesses data
peso-app/supabase/functions/_shared/gmail.ts - Gmail shared services → Google Gmail: calls Gmail API
peso-app/supabase/functions/_shared/gmail.ts - Employer dashboard → Employer modules: serves workflows
- Staff dashboard → Admin management modules: serves workflows