How ayimmam/pcic works
PCIC is an internal membership and operations platform with a public project showcase. Members and staff use the React app to sign in and access role-appropriate workflows; requests reach the Express API, whose controllers apply domain rules and persist records in MongoDB. The README also documents events, decisions, strikes, recruitment, compliance, summer projects, project collaboration, and reports. Several feature routes and client hooks were not sampled, so their internal links are shown only where documented; unsampled controller-to-model links are omitted.
Main entry points: models Domain records · index.js Express API · App.jsx App and routing · auth.js Authentication routes
Components 24
Web application
- App and routing
client/src/App.jsx - API client
client/src/api/axios.js
Identity and access
- Auth state
client/src/context/AuthContext.jsx - Authentication routes
server/src/routes/auth.js - Authentication logic
server/src/controllers/authController.js
Member operations
- Event attendance
client/src/pages/Events.jsx - Member management
client/src/pages/Members.jsx - Decision repository
client/src/components/decisions - Candidate review
client/src/components/candidates - Leadership compliance
client/src/pages/LeadershipCompliance.jsx - Summer submissions
client/src/pages/SummerProject.jsx - Analytics reports
client/src/components/reports - Candidate workflow
server/src/controllers/candidateController.js - Decision workflow
server/src/controllers/decisionController.js - Compliance workflow
server/src/controllers/leadershipComplianceController.js - Summer project workflow
server/src/controllers/summerProjectController.js - Report generation
server/src/controllers/reportController.js - Member operations
server/src/controllers/memberController.js
Project workflows
- Project workspace
client/src/pages/PeakProjects.jsx - Project collaboration
server/src/controllers/projectController.js
API and persistence
- Express API
server/src/index.js - Domain records
server/src/models - MongoDB
Other components
- Members and staff
Connections 30
- Members and staff → App and routing: uses
README.md - App and routing → Auth state: uses auth
client/src/App.jsx - App and routing → API client: requests data
- App and routing → Event attendance: routes to
README.md - App and routing → Member management: routes to
client/src/App.jsx - App and routing → Project workspace: routes to
client/src/App.jsx - Members and staff → Event attendance: tracks attendance
README.md - Members and staff → Decision repository: manages decisions
README.md - Members and staff → Candidate review: reviews candidates
README.md - Members and staff → Leadership compliance: reviews compliance
README.md - Members and staff → Summer submissions: submits work
README.md - Members and staff → Analytics reports: exports analytics
README.md - Members and staff → Project workspace: views projects
README.md - Express API → Authentication routes: mounts routes
server/src/index.js - Express API → Candidate workflow: mounts feature route
- Express API → Project collaboration: mounts feature route
- Express API → Compliance workflow: mounts feature route
- Express API → Summer project workflow: mounts feature route
- Express API → Report generation: mounts feature route
- Express API → Member operations: mounts feature route
- Authentication routes → Authentication logic: dispatches to
server/src/routes/auth.js - Authentication logic → Domain records: uses User
server/src/controllers/authController.js - Candidate workflow → Domain records: reads and writes
server/src/controllers/candidateController.js - Decision workflow → Domain records: reads and writes
server/src/controllers/decisionController.js - Compliance workflow → Domain records: reads and writes
server/src/controllers/leadershipComplianceController.js - Summer project workflow → Domain records: reads and writes
server/src/controllers/summerProjectController.js - Project collaboration → Domain records: reads and writes
server/src/controllers/projectController.js - Report generation → Domain records: queries records
server/src/controllers/reportController.js - Member operations → Domain records: reads and writes
server/src/controllers/memberController.js - Domain records → MongoDB: persists records
README.md