How sahil-das/clubkhata-frontend works
This is a React application for managing club finances and operations, with a separate platform-administration area. The main workflow is an authenticated user entering a routed club workspace, selecting operational or financial features, and using those screens to work with API-backed data. The graph preserves major feature areas visible in the tree, while detailed call relationships are limited to the supplied excerpts and SOURCE INDEX references; unsampled page behavior is not inferred.
Main entry points: App.jsx Router and layouts · axios.js HTTP client · VendorHiring.jsx Vendor rentals · Settings.jsx Club settings and years
Components 26
Application shell
- Router and layouts
src/App.jsx
Identity and shared state
- Authentication
src/context/AuthContext.jsx - HTTP client
src/api/axios.js - Theme preferences
src/context/ThemeContext.jsx - Toast notifications
src/context/ToastContext.jsx
Club operations
- Members and profiles
src/pages/MemberDetails.jsx - Polls
src/pages/Polls.jsx - Notices
src/components/NoticeBoard.jsx - Vendor rentals
src/pages/VendorHiring.jsx - Rental operations API
src/api/rentals.js - Rental dialogs
src/components/rentals/CreateOrderModal.jsx
Finance and records
- Finance workspace
src/pages/DashboardHome.jsx - Contributions
src/pages/Contributions.jsx - Festival contributions
src/pages/PujaContributions.jsx - Donations
src/pages/Donations.jsx - Expenses and budgets
src/pages/Budgeting.jsx - Assets
src/pages/Assets.jsx - Archives and reports
src/pages/ArchiveReport.jsx - Club settings and years
src/pages/Settings.jsx - Festival-year API
src/api/years.js - Create-year dialog
src/components/CreateYearModal.jsx - PDF exports
src/utils/pdfExport.js
Platform administration
- Platform administration
src/pages/platform/PlatformDashboard.jsx - Platform API
src/api/platform.js
Other components
- Club user
- Application API
Connections 26
- Club user → Router and layouts: opens
src/App.jsx - Router and layouts → Authentication: provides auth
src/App.jsx - Router and layouts → Finance workspace: routes to
src/App.jsx - Router and layouts → Platform administration: routes to
src/App.jsx - Authentication → HTTP client: auth requests
src/context/AuthContext.jsx - Router and layouts → Theme preferences: provides theme
src/App.jsx - Router and layouts → Toast notifications: provides notifications
src/App.jsx - Router and layouts → Members and profiles: routes to
src/App.jsx - Router and layouts → Polls: routes to
src/App.jsx - Router and layouts → Vendor rentals: routes to
src/App.jsx - Router and layouts → Expenses and budgets: routes to
src/App.jsx - Router and layouts → Assets: routes to
src/App.jsx - Router and layouts → Archives and reports: routes to
src/App.jsx - Router and layouts → Club settings and years: routes to
src/App.jsx - Vendor rentals → Rental operations API: calls
src/pages/VendorHiring.jsx - Rental operations API → HTTP client: uses client
src/api/rentals.js - Vendor rentals → Rental dialogs: renders
src/pages/VendorHiring.jsx - Club settings and years → Festival-year API: calls
src/pages/Settings.jsx - Club settings and years → Create-year dialog: uses
src/pages/Settings.jsx - Festival-year API → HTTP client: uses client
src/api/years.js - Platform administration → Platform API: calls
src/pages/platform/PlatformDashboard.jsx - Platform API → HTTP client: uses client
src/api/platform.js - Members and profiles → HTTP client: calls
src/pages/MemberDetails.jsx - Festival contributions → HTTP client: calls
src/pages/PujaContributions.jsx - Festival contributions → PDF exports: exports
src/pages/PujaContributions.jsx - HTTP client → Application API: sends requests
src/api/axios.js