How aldrin-palado/peso-hub works
PESO is a public employment-services portal and role-based hiring platform: job seekers discover vacancies and apply, employers manage postings and applications, and staff/admin users oversee accounts, employers, vacancies, analytics, and communications. The map follows the evidenced route and dashboard/module structure and includes major listed capabilities such as AI assistance, messaging, and Gmail integration. Source excerpts are partial and there is no README, so some subsystem relationships are intentionally left unconnected.
Main entry points: App.tsx Application router · JobSeekerDashboard.tsx Seeker workspace · AdminDashboard.tsx Admin workspace · supabase.js Supabase client
Components 26
Public Access
- Application router
peso-app/src/App.tsx - Public pages
peso-app/src/pages/Home.tsx - Account access
peso-app/src/components/Login.tsx - Seeker registration
peso-app/src/components/JobSeekerRegistration.tsx
Hiring Marketplace
- Seeker workspace
peso-app/src/dashboards/JobSeekerDashboard.tsx - Vacancy search
peso-app/src/jobseekersmodules/JobsModule.tsx - Job matches
peso-app/src/jobseekersmodules/JobMatchesModule.tsx - Applications
peso-app/src/jobseekersmodules/ApplicationsModule.tsx - Saved jobs
peso-app/src/jobseekersmodules/SavedJobsModule.tsx - AI assistant
peso-app/src/jobseekersmodules/AIChatbotModule.tsx - Employer workspace
peso-app/src/dashboards/EmployerDashboard.tsx - Job postings
peso-app/src/employersmodules/MyJobPostModule.tsx - Applicant management
peso-app/src/employersmodules/ApplicationsModule.tsx - Employer onboarding
peso-app/src/services/employerRegistration.ts
PESO Operations
- Admin workspace
peso-app/src/dashboards/AdminDashboard.tsx - Employer oversight
peso-app/src/adminmodules/EmployersModule.tsx - Seeker oversight
peso-app/src/adminmodules/JobSeekersModule.tsx - Analytics
peso-app/src/adminmodules/AnalyticsModule.tsx - Staff workspace
peso-app/src/dashboards/StaffDashboard.tsx
Platform Services
- Messaging
peso-app/src/components/DirectMessages.tsx - AI service handler
peso-app/supabase/functions/peso-ai/index.ts - Gmail integration
peso-app/supabase/functions/gmail-oauth-start/index.ts - Gmail synchronization
peso-app/supabase/functions/_shared/gmail-sync.ts - Supabase client
peso-app/src/services/supabase.js - Supabase data services
Other components
- Public user
Connections 25
- Public user → Application router: opens
peso-app/src/App.tsx - Application router → Public pages: routes
peso-app/src/App.tsx - Application router → Account access: routes
peso-app/src/App.tsx - Application router → Seeker registration: routes
peso-app/src/App.tsx - Application router → Admin workspace: routes
peso-app/src/App.tsx - Application router → Employer workspace: routes
peso-app/src/App.tsx - Application router → Seeker workspace: routes
peso-app/src/App.tsx - Application router → Staff workspace: routes
peso-app/src/App.tsx - Seeker workspace → Vacancy search: renders
peso-app/src/dashboards/JobSeekerDashboard.tsx - Seeker workspace → Job matches: renders
peso-app/src/dashboards/JobSeekerDashboard.tsx - Seeker workspace → Applications: renders
peso-app/src/dashboards/JobSeekerDashboard.tsx - Seeker workspace → Saved jobs: renders
peso-app/src/dashboards/JobSeekerDashboard.tsx - Seeker workspace → AI assistant: renders
peso-app/src/dashboards/JobSeekerDashboard.tsx - Employer workspace → Job postings: renders
- Employer workspace → Applicant management: renders
- Admin workspace → Employer oversight: renders
peso-app/src/dashboards/AdminDashboard.tsx - Admin workspace → Seeker oversight: renders
peso-app/src/dashboards/AdminDashboard.tsx - Admin workspace → Analytics: renders
peso-app/src/dashboards/AdminDashboard.tsx - Vacancy search → Supabase client: queries
peso-app/src/jobseekersmodules/JobsModule.tsx - Employer oversight → Employer onboarding: checks
peso-app/src/adminmodules/EmployersModule.tsx - Employer oversight → Supabase client: queries
peso-app/src/adminmodules/EmployersModule.tsx - Supabase client → Supabase data services: connects
peso-app/src/services/supabase.js - AI assistant → AI service handler: invokes
- Messaging → Supabase client: uses
- Gmail integration → Gmail synchronization: uses