How deep2812msu2006/student_organization_system works
This is a student-organization system spanning a React member/staff portal and an Express/PostgreSQL API. The user workflow is to browse, authenticate or enroll, then use event, membership, shop, and organization-management features; the API routes requests into domain services and persistence. The graph preserves the README’s major product areas, including community, finance, inventory, and check-in. Some frontend/API and unsampled domain links are shown only as unverified; sampled source and the README provide the cited relationships.
Main entry points: App.jsx Portal routing · app.js API route assembly · api.js API client · transaction.js Transaction helper
Components 32
Web portal
- Portal routing
client/src/App.jsx - Search and browse
client/src/pages/SearchPage.jsx - Membership portal
client/src/pages/members/MembershipPage.jsx - Event pages
client/src/pages/events - Shop and orders
client/src/pages/shop - Staff workspace
client/src/pages/staff - Community pages
client/src/pages/community - API client
client/src/services/api.js
Identity and membership
- Session context
client/src/context/AuthContext.jsx - Authentication controller
server/controllers/auth.controller.js - Authentication service
server/services/auth.service.js - Account and roles
server/model/auth.model.js - Membership routes
server/routes/member.routes.js - Membership service
server/services/member.service.js - Member records
server/model/member.model.js
Events and community
- Event routes
server/routes/event.routes.js - Event operations
server/services/event.service.js - Check-in routes
server/routes/checkin.routes.js - Community routes
server/routes/community.routes.js - Community service
server/services/community.service.js - Community records
server/model/community.model.js
Shop and finance
- Merchandise routes
server/routes/merchandise.routes.js - Merchandise service
server/services/merchandise.service.js - Catalog and orders
server/model/merchandise.model.js - Finance routes
server/routes/finance.routes.js - Payment operations
server/services/payment.service.js - Payment records
server/model/payment.model.js - Expense operations
server/services/expense.service.js
API and persistence
- API route assembly
server/app.js - PostgreSQL
server/config/db.js - Transaction helper
server/utils/transaction.js
Other components
- Member or visitor
Connections 42
- Member or visitor → Portal routing: uses
client/src/App.jsx - Portal routing → Search and browse: routes to
client/src/App.jsx - Portal routing → Membership portal: routes to
client/src/App.jsx - Portal routing → Event pages: routes to
client/src/App.jsx - Portal routing → Shop and orders: routes to
client/src/App.jsx - Portal routing → Staff workspace: routes to
client/src/App.jsx - Portal routing → Community pages: routes to
client/src/App.jsx - Session context → API client: calls
client/src/context/AuthContext.jsx - Portal routing → Session context: provides
client/src/App.jsx - Search and browse → API client: requests data
- Membership portal → API client: requests data
- Event pages → API client: requests data
- Shop and orders → API client: requests data
- Staff workspace → API client: requests data
- Community pages → API client: requests data
client/src/pages/community/TasksPage.jsx - API client → API route assembly: calls API
- API route assembly → Membership routes: mounts
server/app.js - API route assembly → Event routes: mounts
server/app.js - API route assembly → Check-in routes: mounts
server/app.js - API route assembly → Community routes: mounts
server/app.js - API route assembly → Merchandise routes: mounts
server/app.js - API route assembly → Finance routes: mounts
server/app.js - Authentication controller → Authentication service: calls
server/controllers/auth.controller.js - Authentication service → Account and roles: calls
server/services/auth.service.js - Membership routes → Membership service: calls
server/routes/member.routes.js - Membership routes → Member records: queries
server/routes/member.routes.js - Event routes → Event operations: calls
- Check-in routes → Payment operations: calls
server/routes/checkin.routes.js - Community routes → Community service: calls
server/routes/community.routes.js - Community routes → Community records: calls
server/routes/community.routes.js - Merchandise routes → Merchandise service: calls
server/routes/merchandise.routes.js - Merchandise routes → Payment records: queries
server/routes/merchandise.routes.js - Merchandise service → Catalog and orders: calls
server/services/merchandise.service.js - Finance routes → Payment operations: calls
server/routes/finance.routes.js - Finance routes → Expense operations: calls
server/routes/finance.routes.js - Payment operations → Payment records: calls
server/services/payment.service.js - Authentication service → Transaction helper: runs in
server/services/auth.service.js - Payment operations → Transaction helper: runs in
server/services/payment.service.js - Membership routes → Transaction helper: runs in
server/routes/member.routes.js - Community routes → Transaction helper: runs in
server/routes/community.routes.js - Merchandise routes → Transaction helper: runs in
server/routes/merchandise.routes.js - Transaction helper → PostgreSQL: uses pool