How uclaacm/membership-portal works
This is an Express backend for the ACM Membership Portal. Members authenticate, then use APIs for profiles, events, attendance, RSVPs and related membership services; officers and administrators also manage those resources. A distinct internship workflow supports committee configuration, application submission/review and cycle advancement. The graph includes the documented and indexed API branches, plus the PostgreSQL and MongoDB-backed domains. Some membership handlers and integrations were not excerpted, so their internal calls are omitted; edges reflect explicit route registration, imports, or documented behavior.
Main entry points: v1/index.js Versioned routes · db/index.js PostgreSQL models · committeeController.js Committee management · applicationController.js Applications
Components 24
API routing
- API entry
app/api/index.js - Versioned routes
app/api/v1/index.js - Authentication
app/api/v1/auth/index.js - Public events
app/api/v1/public/events.js
Membership services
- Registration
app/api/v1/membership/register/index.js - Member profiles
app/api/v1/membership/user/index.js - Event management
app/api/v1/membership/event/index.js - Attendance
app/api/v1/membership/attendance/index.js - Event RSVPs
app/api/v1/membership/rsvp/index.js - Leaderboard
app/api/v1/membership/leaderboard/index.js - Image service
app/api/v1/membership/image/index.js - Membership tools
app/api/v1/membership
Internship program
- Internship routes
app/api/v1/internship/index.js - Applications
app/api/v1/internship/controllers/applicationController.js - Committee management
app/api/v1/internship/controllers/committeeController.js - Cycle administration
app/api/v1/internship/controllers/cycleController.js - Committee records
app/api/v1/internship/models/Committee.js - Application records
app/api/v1/internship/models/InternshipApplication.js - Cycle settings
app/api/v1/internship/models/InternshipSettings.js - Deadline rules
app/api/v1/internship/utils/deadlineValidation.js
Data and platform
- PostgreSQL models
app/db/index.js - MongoDB
- Audit logging
app/audit.js
Other components
- Portal user
Connections 41
- Portal user → API entry: requests
- API entry → Versioned routes: routes to
- Versioned routes → Authentication: mounts
app/api/v1/index.js - Versioned routes → Public events: mounts
app/api/v1/index.js - Versioned routes → Registration: mounts
app/api/v1/index.js - Versioned routes → Member profiles: mounts
app/api/v1/index.js - Versioned routes → Event management: mounts
app/api/v1/index.js - Versioned routes → Attendance: mounts
app/api/v1/index.js - Versioned routes → Event RSVPs: mounts
app/api/v1/index.js - Versioned routes → Leaderboard: mounts
app/api/v1/index.js - Versioned routes → Image service: mounts
app/api/v1/index.js - Versioned routes → Membership tools: mounts
app/api/v1/index.js - Versioned routes → Internship routes: mounts
app/api/v1/index.js - Internship routes → Applications: routes to
app/api/v1/internship/index.js - Internship routes → Committee management: routes to
app/api/v1/internship/index.js - Internship routes → Cycle administration: routes to
app/api/v1/internship/index.js - Applications → Application records: reads and writes
app/api/v1/internship/controllers/applicationController.js - Applications → Committee records: reads
app/api/v1/internship/controllers/applicationController.js - Applications → Deadline rules: checks deadlines
app/api/v1/internship/controllers/applicationController.js - Committee management → Committee records: reads and writes
app/api/v1/internship/controllers/committeeController.js - Committee management → Application records: counts and updates
app/api/v1/internship/controllers/committeeController.js - Committee management → Deadline rules: adds status
app/api/v1/internship/controllers/committeeController.js - Committee management → Applications: uses permissions
app/api/v1/internship/controllers/committeeController.js - Cycle administration → Application records: archives applications
app/api/v1/internship/controllers/cycleController.js - Cycle administration → Committee records: resets decisions
app/api/v1/internship/controllers/cycleController.js - Cycle administration → Cycle settings: reads and sets cycle
app/api/v1/internship/controllers/cycleController.js - Committee records → MongoDB: persists
- Application records → MongoDB: persists
- Cycle settings → MongoDB: persists
- Authentication → PostgreSQL models: looks up users
app/api/v1/auth/index.js - Member profiles → PostgreSQL models: queries users
app/api/v1/membership/user/index.js - Event management → PostgreSQL models: queries event data
app/api/v1/membership/event/index.js - Attendance → PostgreSQL models: queries attendance
app/api/v1/membership/attendance/index.js - Event RSVPs → PostgreSQL models: queries RSVP data
app/api/v1/membership/rsvp/index.js - Leaderboard → PostgreSQL models: queries data
app/api/v1/membership/leaderboard/index.js - Image service → PostgreSQL models: queries image data
app/api/v1/membership/image/index.js - Committee management → Audit logging: records changes
app/api/v1/internship/controllers/committeeController.js - Member profiles → Audit logging: records changes
app/api/v1/membership/user/index.js - Event management → Audit logging: records changes
app/api/v1/membership/event/index.js - Image service → Audit logging: records changes
app/api/v1/membership/image/index.js - Audit logging → PostgreSQL models: writes audit entries