How akhil-882/btechcareerguide-online-dashboard works
This repository implements a career-guidance dashboard with a React client and Laravel API. Users authenticate and access job, project, profile, booking, and career resources; administrators manage jobs, projects, materials, bookings, and transactions. The client routes role-protected experiences and uses feature hooks to make API requests. The API includes authentication, email verification, token handling, job and payment services, and persistent user data. The README provides no capability detail, and most route/controller source was not sampled, so those backend connections are intentionally not inferred.
Main entry points: AuthService.php Authentication service · App.jsx Client routes · authApi.js Auth API client · projectApi.js Project API client
Components 24
Web client
- Client routes
online-dashboard-app/src/App.jsx - Marketing and signup
online-dashboard-app/src/features/marketing - Other API clients
online-dashboard-app/src/api
Identity services
- Auth actions
online-dashboard-app/src/hooks/useAuth.js - Auth API client
online-dashboard-app/src/api/authApi.js - Authentication endpoints
online-dashboard-api/app/Http/Controllers/AuthenticationController.php - Authentication service
online-dashboard-api/app/Services/AuthService.php - Email verification
online-dashboard-api/app/Services/EmailVerificationService.php - Token service
online-dashboard-api/app/Services/TokenService.php - Auth contract
online-dashboard-api/app/Services/Contracts/AuthServiceInterface.php - Token contract
online-dashboard-api/app/Services/Contracts/TokenServiceInterface.php
Career dashboard
- User dashboard
online-dashboard-app/src/features/user - Admin console
online-dashboard-app/src/features/admin - Project actions
online-dashboard-app/src/hooks/useProject.js - Project API client
online-dashboard-app/src/api/projectApi.js - Job service
online-dashboard-api/app/Services/JobService.php - Job contract
online-dashboard-api/app/Services/Contracts/JobServiceInterface.php
API and persistence
- API routes
online-dashboard-api/routes/api.php - User repository
online-dashboard-api/app/Repositories/UserRepository.php - User accounts
online-dashboard-api/app/Models/User.php - Payment services
online-dashboard-api/app/Services/PaymentService.php - Razorpay gateway
online-dashboard-api/app/Services/Gateways/RazorpayGateway.php - Domain records
online-dashboard-api/app/Models
Other components
- Dashboard visitor
Connections 17
- Dashboard visitor → Client routes: opens
online-dashboard-app/src/App.jsx - Client routes → Marketing and signup: routes to
online-dashboard-app/src/App.jsx - Client routes → User dashboard: routes to
online-dashboard-app/src/App.jsx - Client routes → Admin console: routes to
online-dashboard-app/src/App.jsx - Auth actions → Auth API client: calls
online-dashboard-app/src/hooks/useAuth.js - Project actions → Project API client: calls
online-dashboard-app/src/hooks/useProject.js - Authentication endpoints → Authentication service: delegates
- Authentication service → User repository: uses
online-dashboard-api/app/Services/AuthService.php - Authentication service → Email verification: verifies email
online-dashboard-api/app/Services/AuthService.php - Authentication service → Token contract: issues tokens
online-dashboard-api/app/Services/AuthService.php - Authentication service → User accounts: authenticates
online-dashboard-api/app/Services/AuthService.php - User repository → User accounts: manages users
- Authentication service → Auth contract: implements
online-dashboard-api/app/Services/AuthService.php - Job service → Job contract: implements
- Payment services → Razorpay gateway: uses gateway
- Auth API client → API routes: requests
- Project API client → API routes: requests