How gavali197/pcw_application works
The repository appears intended as a placement-cell application: its backend has student/committee authentication and data models for companies, job drives, student profiles, applications, audit logs, and notifications. The checked-in frontend is still a Vite starter screen, and the server does not mount the user routes (their mount is commented out). The graph separates implemented auth/runtime wiring from modeled placement domains; unsampled models are included by their indexed paths, without assuming operational workflows.
Main entry points: JobDrive.js Job drives · User.js User accounts · Application.js Applications · UserController.js User controller
Components 16
Frontend
- Starter screen
PCW_Application/Frontend/src/App.jsx - React entry
PCW_Application/Frontend/src/main.jsx
Server and auth
- Express server
PCW_Application/Server/Index.js - User routes
PCW_Application/Server/routes/UserRoute.js - User controller
PCW_Application/Server/controllers/UserController.js - Token and roles
PCW_Application/Server/Middleware/authMiddleware.js
Placement data
- User accounts
PCW_Application/Server/models/User.js - Applications
PCW_Application/Server/models/Application.js - Job drives
PCW_Application/Server/models/JobDrive.js - Companies
PCW_Application/Server/models/Company.js - Student profiles
PCW_Application/Server/models/StudentProfile.js - Audit logs
PCW_Application/Server/models/AuditLog.js - Notifications
PCW_Application/Server/models/Notification.js
Database
- DB connector
PCW_Application/Server/utils/Db.js - MongoDB
Other components
- Browser user
Connections 11
- Browser user → Starter screen: views
- React entry → Starter screen: renders
PCW_Application/Frontend/src/main.jsx - User routes → User controller: dispatches
PCW_Application/Server/routes/UserRoute.js - User controller → User accounts: queries and creates
PCW_Application/Server/controllers/UserController.js - Token and roles → User accounts: loads user
PCW_Application/Server/Middleware/authMiddleware.js - Express server → DB connector: connects via
PCW_Application/Server/Index.js - DB connector → MongoDB: connects
PCW_Application/Server/utils/Db.js - Applications → Job drives: references drive
PCW_Application/Server/models/Application.js - Applications → Student profiles: references profile
PCW_Application/Server/models/Application.js - Job drives → User accounts: references creator
PCW_Application/Server/models/JobDrive.js - Job drives → Companies: references company
PCW_Application/Server/models/JobDrive.js