How baishnabi06/campuslink works
CampusLink is a campus placement platform: students, recruiters and placement officers use a vanilla-JS client against FastAPI workflows backed by MongoDB. The primary path is profile and drive management, deterministic eligibility and applications, then interview scheduling, offers, document verification and notifications; dashboards expose role-specific analytics. Readiness, skill-gap, recommendations and matching/prediction interfaces form a separate AI-oriented capability branch. Connections below follow sampled imports/calls or README and startup router-registration statements; unsampled route internals are represented at their exact paths, with no guessed call links.
Main entry points: main.py FastAPI application · database.py MongoDB collections · readiness.py Readiness endpoints · notifications.py In-app notifications
Components 28
Web client
- Frontend application
Frontend/js/main.js - API client
Frontend/js/api.js - Login and session
Frontend/js/auth.js
API and identity
- FastAPI application
Backend/app/main.py - Authentication and roles
Backend/app/routes/auth.py - Token and role checks
Backend/app/core/deps.py - JWT security
Backend/app/core/security.py - Request and response models
Backend/app/models/schemas.py - MongoDB collections
Backend/app/database.py
Placement workflows
- Student and recruiter profiles
Backend/app/routes/students.py - Recruiter drives
Backend/app/routes/drives.py - Eligibility and applications
Backend/app/routes/applications.py - Interview scheduling
Backend/app/routes/interviews.py - Conflict detection
Backend/app/services/scheduling.py - Offer lifecycle
Backend/app/routes/offers.py - Document verification
Backend/app/routes/documents.py - In-app notifications
Backend/app/services/notifications.py
Insights and AI
- Placement analytics
Backend/app/routes/analytics.py - Readiness endpoints
Backend/app/routes/readiness.py - Readiness scoring
Backend/app/services/ai/readiness_service.py - Profile feedback
Backend/app/services/ai/feedback_service.py - Skill-gap analysis
Backend/app/services/ai/skill_gap_service.py - Job recommendations
Backend/app/routes/recommendations.py - Job recommender
Backend/app/services/job_recommender.py - Candidate matching interface
Backend/app/services/ai/matching_service.py - Predictive analytics interface
Backend/app/services/ai/prediction_service.py
Other components
- CampusLink users
- Google Calendar and Meet
Connections 42
- CampusLink users → Frontend application: uses
README.md - Frontend application → API client: requests
Frontend/js/main.js - API client → FastAPI application: calls REST
README.md - FastAPI application → Authentication and roles: mounts routes
Backend/app/main.py - FastAPI application → Student and recruiter profiles: mounts routes
Backend/app/main.py - FastAPI application → Recruiter drives: mounts routes
Backend/app/main.py - FastAPI application → Eligibility and applications: mounts routes
Backend/app/main.py - FastAPI application → Interview scheduling: mounts routes
Backend/app/main.py - FastAPI application → Offer lifecycle: mounts routes
Backend/app/main.py - FastAPI application → Document verification: mounts routes
Backend/app/main.py - FastAPI application → In-app notifications: mounts routes
Backend/app/main.py - FastAPI application → Placement analytics: mounts routes
Backend/app/main.py - FastAPI application → Readiness endpoints: mounts routes
Backend/app/main.py - Login and session → API client: uses
Frontend/js/auth.js - Authentication and roles → MongoDB collections: reads and writes
Backend/app/routes/auth.py - Authentication and roles → JWT security: verifies and signs
Backend/app/routes/auth.py - Authentication and roles → Token and role checks: uses dependencies
Backend/app/routes/auth.py - Token and role checks → JWT security: decodes token
Backend/app/core/deps.py - Token and role checks → MongoDB collections: loads user
Backend/app/core/deps.py - FastAPI application → MongoDB collections: connects lifecycle
Backend/app/main.py - Student and recruiter profiles → MongoDB collections: reads and writes
Backend/app/routes/students.py - Recruiter drives → MongoDB collections: reads and writes
Backend/app/routes/drives.py - Eligibility and applications → MongoDB collections: reads and writes
Backend/app/routes/applications.py - Eligibility and applications → In-app notifications: creates notices
Backend/app/routes/applications.py - Interview scheduling → MongoDB collections: reads and writes
Backend/app/routes/interviews.py - Interview scheduling → Conflict detection: checks conflicts
Backend/app/routes/interviews.py - Interview scheduling → Google Calendar and Meet: creates Meet events
Backend/app/routes/interviews.py - Offer lifecycle → MongoDB collections: reads and writes
Backend/app/routes/offers.py - Offer lifecycle → In-app notifications: creates notices
Backend/app/routes/offers.py - Document verification → MongoDB collections: reads and writes
Backend/app/routes/documents.py - Document verification → In-app notifications: creates notices
Backend/app/routes/documents.py - In-app notifications → MongoDB collections: writes notices
Backend/app/services/notifications.py - Placement analytics → MongoDB collections: queries metrics
Backend/app/routes/analytics.py - Readiness endpoints → Readiness scoring: scores profiles
Backend/app/routes/readiness.py - Readiness endpoints → Profile feedback: generates feedback
Backend/app/routes/readiness.py - Readiness endpoints → MongoDB collections: loads profiles and cache
Backend/app/routes/readiness.py - Skill-gap analysis → MongoDB collections: reads profile data
- Job recommendations → Job recommender: delegates
Backend/app/routes/recommendations.py - Job recommendations → MongoDB collections: reads profile data
Backend/app/routes/recommendations.py - Readiness endpoints → Placement analytics: reads officer context
- Candidate matching interface → Recruiter drives: matches candidates
- Predictive analytics interface → Placement analytics: supports forecasts