How charan512/ace works
ACE Web Portal serves guests, members, event staff, administrators, and treasurers. The primary workflow is event discovery and registration, payment initiation and verification, then attendance and member access; operations and administration provide event setup, check-in, reporting, certificates, and communications. The graph combines documented capabilities with sampled routes, calls, and model references. Some portal and integration details are documented but their implementation was not sampled, so those links cite the README.
Main entry points: App.jsx Portal router · controllers Admin and check-in · routes API routes · payment.controller.js Payment processing
Components 21
React portals
- Portal router
client/src/App.jsx - Guest portal
client/src/pages - Member portal
client/src/pages/MemberProfile.jsx - Ops hub
client/src/pages/OpsDashboard.jsx - Admin portal
client/src/pages/AdminEvents.jsx - Treasurer portal
client/src/pages - Auth state
client/src/store/useAuthStore.js
API and access
- API client
client/src/lib/api.js - Express API
server/src/index.js - API routes
server/src/routes - JWT and roles
server/src/middleware/auth.middleware.js
Events and finance
- Event management
server/src/controllers/event.controller.js - Payment processing
server/src/controllers/payment.controller.js - Event and payment records
server/src/models
Operations and administration
- Admin and check-in
server/src/controllers - Certificate rendering
server/src/utils/certRenderer.js
Background services
- Redis queues
server/src/config/redis.js - Job workers
server/src/workers
Other components
- Visitor or member
- PhonePe gateway
- Email service
Connections 28
- Visitor or member → Portal router: uses
- Portal router → Guest portal: routes to
client/src/App.jsx - Portal router → Member portal: routes to
client/src/App.jsx - Portal router → Ops hub: routes to
client/src/App.jsx - Portal router → Admin portal: routes to
client/src/App.jsx - Portal router → Treasurer portal: routes to
client/src/App.jsx - Member portal → Auth state: uses
- Auth state → API client: calls
client/src/store/useAuthStore.js - Portal router → API client: requests
- API client → Express API: sends API requests
- Express API → API routes: mounts
server/src/index.js - API routes → JWT and roles: guards routes
server/src/routes/auth.routes.js - API routes → Event management: dispatches
server/src/routes/admin.routes.js - API routes → Payment processing: dispatches
server/src/routes/payment.routes.js - API routes → Admin and check-in: dispatches
server/src/routes/ops.routes.js - Guest portal → Event management: discovers events
- Guest portal → Payment processing: checks out
- Member portal → Payment processing: registers
- Payment processing → PhonePe gateway: initiates and verifies
server/src/controllers/payment.controller.js - Payment processing → Event and payment records: reads and writes
server/src/controllers/payment.controller.js - Event management → Event and payment records: reads and writes
server/src/controllers/event.controller.js - Admin and check-in → Event and payment records: manages
server/src/controllers/admin.controller.js - Admin and check-in → Redis queues: enqueues jobs
server/src/controllers/admin.controller.js - Admin portal → Admin and check-in: configures events
- Ops hub → Admin and check-in: checks in attendees
- Admin and check-in → Certificate rendering: renders certificates
- Redis queues → Job workers: feeds jobs
server/src/workers/certificateWorker.js - Job workers → Email service: sends messages
server/src/workers/emailWorker.js