How sats10-s/careerconnect works
CareerConnect is a career-services portal for students, faculty, placement staff, super admins, and recruiting companies. Its user-facing flow is a React SPA calling a Laravel API: users authenticate, receive role-specific access, and use portal workflows such as browsing opportunities and applying. The backend also contains placement-drive, attendance, internship-coordination, reporting, import/export, and company-management modules. The README describes an initial foundation and marks several of these features as future work, while the tree and sampled references show substantial feature code; unsampled implementation details and links are left out.
Main entry points: api.php API routes · AuthService.php Auth service · AuthController.php Auth endpoints · App.tsx React SPA
Components 18
Portal client
- React SPA
frontend/src/App.tsx - Auth client
frontend/src/services/authService.ts
Identity and access
- API routes
backend/routes/api.php - Auth endpoints
backend/app/Http/Controllers/Api/AuthController.php - Auth service
backend/app/Services/Auth/AuthService.php - Role middleware
backend/app/Http/Middleware/EnsureUserHasRole.php - Accounts and roles
backend/app/Models/User.php
Career workflows
- Student records
backend/app/Models/Student.php - Opportunity API
backend/app/Http/Controllers/Api/Student/OpportunityController.php - Application lifecycle
backend/app/Services/ApplicationService.php - Applications
backend/app/Models/Application.php - Company postings
backend/app/Http/Controllers/Api/Company/PostingController.php
Placement operations
- Placement drives
backend/app/Http/Controllers/Api/Admin/PlacementDriveController.php - Drive service
backend/app/Services/PlacementDriveService.php - Attendance
backend/app/Http/Controllers/Api/Faculty/AttendanceController.php - Reporting services
backend/app/Services/Reporting - Excel workflows
backend/app/Services/ExcelImportService.php
Other components
- Portal user
Connections 17
- Portal user → React SPA: uses
README.md - React SPA → Auth client: requests auth
frontend/src/App.tsx - Auth client → Auth endpoints: calls API
README.md - API routes → Auth endpoints: routes auth
backend/routes/api.php - Auth endpoints → Auth service: delegates auth
backend/app/Http/Controllers/Api/AuthController.php - Auth service → Accounts and roles: checks account
backend/app/Services/Auth/AuthService.php - Auth service → Student records: looks up student
backend/app/Services/Auth/AuthService.php - API routes → Role middleware: gates role routes
README.md - API routes → Opportunity API: routes opportunities
backend/routes/api.php - Opportunity API → Application lifecycle: delegates applications
backend/app/Http/Controllers/Api/Student/OpportunityController.php - Application lifecycle → Applications: manages lifecycle
backend/app/Models/Application.php - API routes → Company postings: routes postings
backend/routes/api.php - API routes → Placement drives: routes drives
backend/routes/api.php - Placement drives → Drive service: delegates drive work
backend/app/Http/Controllers/Api/Admin/PlacementDriveController.php - API routes → Attendance: routes attendance
backend/routes/api.php - API routes → Reporting services: routes reports
backend/routes/api.php - API routes → Excel workflows: routes imports
backend/routes/api.php