How chaaniee/final-react-project-cce106l works
JobAccess is a role-based local job marketplace connecting applicants, employers, and PESO administrators. The main workflow is vacancy creation and review, job discovery, application submission, and administrator-managed application progression; applicants can track or withdraw applications. The graph also preserves authentication, profile/document and verification, matching, and notifications as product subsystems. Evidence is limited to the supplied excerpts and SOURCE INDEX references; unsampled feature links are omitted rather than inferred.
Main entry points: firebase.js Firebase client · [jobId].jsx Apply and track · applicationService.js Application service · pipeline.jsx Administrator pipeline
Components 29
Identity and accounts
- Sign-in screens
JobAccess/app/(auth)/login.jsx - Authentication service
JobAccess/src/features/auth/authService.js - Session and profile state
JobAccess/src/features/auth/AuthProvider.jsx - Role definitions
JobAccess/src/constants/roles.js - Account services
JobAccess/src/features/auth/accountService.js
Vacancies and discovery
- Job search and details
JobAccess/app/(applicant)/search.jsx - Posting queries
JobAccess/src/features/postings/usePostings.js - Job detail lookup
JobAccess/src/features/postings/useJob.js - Posting and review service
JobAccess/src/features/postings/postingService.js - Employer posting screens
JobAccess/app/(employer)/post-vacancy.jsx - Job card
JobAccess/src/components/JobCard.jsx
Applications and review
- Apply and track
JobAccess/app/(applicant)/apply/[jobId].jsx - Application subscriptions
JobAccess/src/features/applications/useApplications.js - Application service
JobAccess/src/features/applications/applicationService.js - Status transitions
JobAccess/src/features/applications/statusMachine.js - Administrator pipeline
JobAccess/app/(admin)/pipeline.jsx - Employer applicants
JobAccess/app/(employer)/applicants/[postingId].jsx - Status timeline
JobAccess/src/components/StatusTimeline.jsx
Supporting features
- Firebase client
JobAccess/src/lib/firebase.js - Cloud Firestore
JobAccess/src/lib/firebase.js - People management
JobAccess/src/features/admin/peopleService.js - Permit verification
JobAccess/src/features/admin/verificationService.js - Document services
JobAccess/src/features/documents/documentService.js - Job matching
JobAccess/src/features/matching - Notifications
JobAccess/src/features/notifications/notificationService.js - Notification screens
JobAccess/src/components/NotificationList.jsx
Other components
- Applicant
- Employer
- PESO administrator
Connections 33
- Applicant → Sign-in screens: signs in
JobAccess/app/(auth)/login.jsx - Employer → Sign-in screens: signs in
JobAccess/app/(auth)/login.jsx - Sign-in screens → Authentication service: authenticates
JobAccess/app/(auth)/login.jsx - Authentication service → Firebase client: uses auth and data
JobAccess/src/features/auth/authService.js - Authentication service → Role definitions: checks role labels
JobAccess/src/features/auth/authService.js - Session and profile state → Firebase client: observes session
JobAccess/src/features/auth/AuthProvider.jsx - Firebase client → Cloud Firestore: provides client
JobAccess/src/lib/firebase.js - Applicant → Job search and details: searches jobs
- Job search and details → Posting queries: loads postings
JobAccess/app/(applicant)/search.jsx - Posting queries → Posting and review service: subscribes
JobAccess/src/features/postings/usePostings.js - Applicant → Apply and track: applies
- Apply and track → Job detail lookup: loads selected job
JobAccess/app/(applicant)/apply/[jobId].jsx - Apply and track → Application service: submits application
JobAccess/app/(applicant)/apply/[jobId].jsx - Apply and track → Application subscriptions: checks applications
JobAccess/app/(applicant)/apply/[jobId].jsx - Application subscriptions → Application service: subscribes
JobAccess/src/features/applications/useApplications.js - Application service → Status transitions: validates transitions
JobAccess/src/features/applications/applicationService.js - PESO administrator → Administrator pipeline: reviews pipeline
- Administrator pipeline → Application subscriptions: loads applications
JobAccess/app/(admin)/pipeline.jsx - Administrator pipeline → Application service: updates status
JobAccess/app/(admin)/pipeline.jsx - Administrator pipeline → Status transitions: offers next stages
JobAccess/app/(admin)/pipeline.jsx - Employer → Employer posting screens: manages vacancies
- Employer → Employer applicants: reviews applicants
- Employer applicants → Application subscriptions: loads applications
JobAccess/app/(employer)/applicants/[postingId].jsx - Applicant → Notification screens: views updates
- Notifications → Firebase client: uses Firestore
JobAccess/src/features/notifications/notificationService.js - Posting and review service → Firebase client: uses Firestore
JobAccess/src/features/postings/postingService.js - Application service → Firebase client: uses Firestore
JobAccess/src/features/applications/applicationService.js - People management → Firebase client: uses Firestore
JobAccess/src/features/admin/peopleService.js - Permit verification → Firebase client: uses Firestore
JobAccess/src/features/admin/verificationService.js - Document services → Firebase client: uses Firestore
JobAccess/src/features/documents/documentService.js - Job detail lookup → Firebase client: reads job
JobAccess/src/features/postings/useJob.js - Job search and details → Job card: renders results
JobAccess/app/(applicant)/search.jsx - Apply and track → Status timeline: renders progress