How arpit2006/campusscompass works
CampusCompass is a student career-guidance web application. Students register or log in, complete a profile with career goals and skills, then access a dashboard with a goal-matched roadmap and skill-based progress; they can also browse curated playlists and community/social pages. The sampled implementation shows static, career-keyed roadmap data rather than an AI-generation service. The README also lists a personalized study planner, but its implementation and wiring were not established by the sampled source, so it is represented as a documented capability without an inferred flow.
Main entry points: index.js Page Routes · app.js Express Application · User.js User Model · dashboardController.js Dashboard & Social
Components 22
Web Runtime
- Express Application
app.js - CSRF Protection
services/csrfProtection.js - Page Routes
routes/index.js - Database Connection
config/db.js - SQL Database
Identity & Profiles
- Auth Routes
routes/auth.js - Profile Routes
routes/profile.js - Access Middleware
routes/middleware.js - Authentication
controllers/authController.js - Profile Management
controllers/profileController.js - Profile Validation
services/profileValidation.js - User Model
models/User.js - Profile Pages
views/profile-setup.ejs
Career Guidance
- Dashboard & Social
controllers/dashboardController.js - Career Content Loader
services/contentDataLoader.js - Career Roadmaps
data/roadmaps - Progress Dashboard
views/dashboard.ejs - Study Planner
Community & Resources
- Curated Playlists
data/curatedPlaylists.json - Community Pages
views/social.ejs - Resources & Playlists
views/resources.ejs
Other components
- Student
Connections 27
- Student → Express Application: sends requests
README.md - Express Application → CSRF Protection: applies middleware
app.js - Express Application → Database Connection: initializes database
app.js - Express Application → Page Routes: mounts routes
app.js - Express Application → Auth Routes: mounts routes
app.js - Express Application → Profile Routes: mounts routes
app.js - Database Connection → SQL Database: connects to
config/db.js - User Model → Database Connection: uses Sequelize
models/User.js - Auth Routes → Authentication: dispatches requests
routes/auth.js - Authentication → User Model: reads and writes
controllers/authController.js - Profile Routes → Profile Management: dispatches requests
routes/profile.js - Profile Routes → Access Middleware: applies guards
routes/profile.js - Profile Management → Profile Validation: validates profile
controllers/profileController.js - Profile Management → User Model: reads and writes
controllers/profileController.js - Access Middleware → User Model: loads account
routes/middleware.js - Page Routes → Access Middleware: guards pages
routes/index.js - Page Routes → Dashboard & Social: dispatches dashboard
routes/index.js - Page Routes → User Model: loads playlist user
routes/index.js - Page Routes → Career Content Loader: loads playlist data
routes/index.js - Dashboard & Social → Career Content Loader: loads roadmap
controllers/dashboardController.js - Dashboard & Social → User Model: queries students
controllers/dashboardController.js - Career Content Loader → Career Roadmaps: reads roadmap files
services/contentDataLoader.js - Career Content Loader → Curated Playlists: reads playlist data
services/contentDataLoader.js - Dashboard & Social → Progress Dashboard: renders dashboard
- Page Routes → Community Pages: renders social page
routes/index.js - Page Routes → Resources & Playlists: renders resources page
routes/index.js - Student → Study Planner: uses planner