How kaustubh-negi-01/clubledger works
ClubLedger is a single-club membership, events, commerce, and financial operations system. Officers and members use the web workspace to manage memberships, reserve tickets or merchandise, and handle operational tasks; payment outcomes are simulated, then recorded through fulfillment and the double-entry journal. Officers also manage expenses, communications, reports, and semester close. The source index identifies the main modules and their references; unsampled modules are represented at subsystem level, and uncertain internal call paths are omitted.
Main entry points: main.py Application assembly · web/routes.py Dashboard and workflows · service.py Payment processing · auth/routes.py Authentication routes
Components 32
Web workspace
- Dashboard and workflows
clubledger/web/routes.py - UI rendering
clubledger/web/ui.py
Identity and shared core
- Authentication routes
clubledger/auth/routes.py - Sessions and permissions
clubledger/core/auth.py - CSRF protection
clubledger/core/csrf.py - Rate limiting
clubledger/core/ratelimit.py
Club operations
- Membership
clubledger/membership/service.py - Membership routes
clubledger/membership/routes.py - Events and ticketing
clubledger/events/service.py - Event routes
clubledger/events/routes.py - Merchandise
clubledger/store/service.py - Store routes
clubledger/store/routes.py - Fundraiser tasks
clubledger/tasks/service.py - Task routes
clubledger/tasks/routes.py - Expenses and receipts
clubledger/expenses/service.py - Announcements and mail
clubledger/comms/service.py - Expense routes
clubledger/expenses/routes.py
Payments and finance
- Payment processing
clubledger/payments/service.py - Payment routes
clubledger/payments/routes.py - Payment simulator
clubledger/payments/simulator.py - Payment webhook
clubledger/payments/webhook.py - Double-entry journal
clubledger/journal/service.py - Financial reports
clubledger/reports/service.py - Report routes
clubledger/reports/routes.py - Semester close
clubledger/close/service.py
Runtime infrastructure
- Application assembly
clubledger/main.py - SQLite and transactions
clubledger/core/db.py - Runtime configuration
clubledger/config.py - Clock
clubledger/core/clock.py - Pricing rules
clubledger/core/pricing.py - Domain contracts
clubledger/core/types.py
Other components
- Member or officer
Connections 41
- Member or officer → Application assembly: opens workspace
README.md - Application assembly → Dashboard and workflows: registers routes
clubledger/main.py - Application assembly → Authentication routes: registers routes
clubledger/main.py - Application assembly → Membership routes: registers routes
clubledger/main.py - Application assembly → Event routes: registers routes
clubledger/main.py - Application assembly → Payment routes: registers routes
clubledger/main.py - Application assembly → Report routes: registers routes
clubledger/main.py - Application assembly → Expense routes: registers routes
clubledger/main.py - Application assembly → Task routes: registers routes
clubledger/main.py - Application assembly → Store routes: registers routes
clubledger/main.py - Dashboard and workflows → UI rendering: renders pages
clubledger/web/routes.py - Authentication routes → Sessions and permissions: uses sessions
clubledger/auth/routes.py - Membership routes → Membership: calls service
clubledger/membership/routes.py - Event routes → Events and ticketing: calls service
clubledger/events/routes.py - Store routes → Merchandise: calls service
clubledger/store/routes.py - Task routes → Fundraiser tasks: calls service
clubledger/tasks/routes.py - Expense routes → Expenses and receipts: calls service
clubledger/expenses/routes.py - Payment routes → Payment processing: calls service
clubledger/payments/routes.py - Report routes → Financial reports: calls service
clubledger/reports/routes.py - Dashboard and workflows → Fundraiser tasks: uses service
clubledger/web/routes.py - Dashboard and workflows → Announcements and mail: uses service
clubledger/web/routes.py - Dashboard and workflows → Financial reports: uses service
clubledger/web/routes.py - Dashboard and workflows → Semester close: uses service
clubledger/web/routes.py - Membership → Payment processing: uses service
clubledger/membership/service.py - Events and ticketing → Payment processing: uses service
clubledger/events/service.py - Merchandise → Payment processing: uses service
clubledger/store/service.py - Payment processing → Double-entry journal: posts entries
clubledger/payments/service.py - Expenses and receipts → Double-entry journal: posts entries
clubledger/expenses/service.py - Semester close → Financial reports: uses reports
clubledger/close/service.py - Events and ticketing → Pricing rules: uses pricing
clubledger/events/service.py - Merchandise → Pricing rules: uses pricing
clubledger/store/service.py - Payment routes → Payment simulator: uses simulator
clubledger/payments/routes.py - Payment routes → Payment webhook: routes webhook
clubledger/payments/routes.py - Dashboard and workflows → SQLite and transactions: queries data
clubledger/web/routes.py - Sessions and permissions → SQLite and transactions: opens connection
clubledger/core/auth.py - Application assembly → Runtime configuration: loads settings
clubledger/main.py - Membership → Announcements and mail: uses service
clubledger/membership/service.py - Authentication routes → CSRF protection: uses protection
clubledger/auth/routes.py - Authentication routes → Rate limiting: uses limiter
clubledger/auth/routes.py - Dashboard and workflows → Clock: uses clock
clubledger/web/routes.py - Payment processing → Domain contracts: uses contracts
clubledger/payments/service.py