How chung-wei-yong/airost_project works
BudgetAI is a Django finance workspace for student clubs. Members register, join clubs, submit expenses, and follow their status; officers review requests under role and approval-limit rules, with approved expenses entering the ledger. Officers also record income, view reports, and export PDFs. Separate branches handle receipt extraction followed by member confirmation, and a role-scoped finance chatbot. The graph reflects documented workflows and sampled calls; several detailed view paths were excerpted only partially, so unsupported internal links are omitted.
Main entry points: finance/views.py Finance workflows · chat_service.py Finance assistant · account/views.py Accounts · clubs/views.py Club management
Components 15
Accounts and clubs
- Accounts
account/views.py - Account forms
account/forms.py - User accounts
account/models.py - Club management
clubs/views.py - Club forms
clubs/forms.py - Clubs and roles
clubs/models.py
Finance workflows
- Finance workflows
finance/views.py - Finance forms
finance/forms.py - Requests and ledger
finance/models.py
AI and reporting
- Receipt extraction
finance/service/ai_service.py - Finance assistant
finance/service/chat_service.py - Financial reports
finance/views.py - AI API
Notifications
- SMTP email
Other components
- Club user
Connections 19
- Club user → Accounts: registers or signs in
README.md - Accounts → Account forms: validates signup
account/views.py - Accounts → User accounts: creates user
account/views.py - Club user → Club management: creates or joins club
README.md - Club management → Club forms: validates changes
clubs/views.py - Club management → Clubs and roles: creates membership
clubs/views.py - Club user → Finance workflows: submits expense
README.md - Finance workflows → Finance forms: validates finance input
finance/views.py - Finance workflows → Requests and ledger: records requests and transactions
README.md - Finance workflows → Clubs and roles: checks membership and role
finance/views.py - Finance workflows → SMTP email: sends email
README.md - Finance workflows → Receipt extraction: extracts receipt details
finance/views.py - Receipt extraction → AI API: requests extraction
finance/service/ai_service.py - Club user → Finance assistant: asks finance question
README.md - Finance workflows → Finance assistant: delegates chat
finance/views.py - Finance assistant → Requests and ledger: reads scoped records
finance/service/chat_service.py - Finance assistant → AI API: requests answer
finance/service/chat_service.py - Finance workflows → Financial reports: builds PDF report
finance/views.py - Financial reports → Requests and ledger: summarizes records
README.md