How sleeplesslh/airost_finance_hub works
AIROST Finance Hub is a Flask reimbursement and event-finance application. Members submit and track claims; treasurers review them against budgets and record payments; administrators manage users, events, and audit history. The graph follows these domain stages and includes shared persistence, upload/AI support, reporting, and notifications. Evidence is limited to the supplied README and source excerpts/index; optional AI and email connections are documented, but some route internals were not sampled.
Main entry points: claims.py Claim workflow · models.py Domain models · app.py Flask application · admin.py User and event admin
Components 22
Claims and payments
- Claim workflow
routes/claims.py - Receipt storage
utils/file_upload.py - Claim history
utils/timeline.py - Payment records
routes/claims.py - AI receipt analysis
utils/receipt_ai.py
Budgets and reports
- Event budgets
utils/budget.py - Dashboards
utils/dashboard.py - Event reports
routes/claims.py - Claim search
utils/listing.py - AI review and summary
routes/claims.py
Accounts and events
- Sign-in
routes/auth.py - User and event admin
routes/admin.py - Profile settings
routes/profile.py
Shared services
- Email notifications
utils/notifications.py - Audit records
utils/audit.py - Domain models
models.py - SQLAlchemy database
database.py - Flask application
app.py
Other components
- Member
- Treasurer
- Administrator
- Brevo email API
Connections 41
- Member → Sign-in: signs in
README.md - Treasurer → Sign-in: signs in
README.md - Administrator → Sign-in: signs in
README.md - Member → Claim workflow: submits and tracks
README.md - Treasurer → Claim workflow: reviews claims
README.md - Claim workflow → Receipt storage: saves uploads
routes/claims.py - Claim workflow → Claim history: records timeline
routes/claims.py - Claim workflow → Event budgets: checks budget
routes/claims.py - Treasurer → Payment records: records payment
README.md - Member → Payment records: views proof
README.md - Treasurer → Event budgets: sets budgets
README.md - Treasurer → Event reports: views expenses
README.md - Event reports → Claim search: filters claims
routes/claims.py - Member → AI receipt analysis: requests analysis
README.md - Claim workflow → AI receipt analysis: requests analysis
routes/claims.py - Treasurer → AI review and summary: requests assistance
README.md - Claim workflow → AI review and summary: provides claim review
routes/claims.py - Claim workflow → Email notifications: sends status emails
routes/claims.py - Flask application → Email notifications: runs reminders
app.py - Email notifications → Brevo email API: delivers email
utils/notifications.py - Administrator → User and event admin: manages accounts
README.md - Administrator → User and event admin: manages events
README.md - Member → Profile settings: updates profile
README.md - User and event admin → Audit records: records actions
routes/admin.py - Profile settings → Audit records: records actions
routes/profile.py - Claim workflow → Audit records: records actions
routes/claims.py - Sign-in → Domain models: reads accounts
routes/auth.py - Claim workflow → Domain models: reads and writes
routes/claims.py - User and event admin → Domain models: reads and writes
routes/admin.py - Profile settings → Domain models: reads and writes
routes/profile.py - Audit records → Domain models: creates entries
utils/audit.py - Event budgets → Domain models: queries records
utils/budget.py - Dashboards → Domain models: queries records
utils/dashboard.py - Claim search → Domain models: filters records
utils/listing.py - Claim history → Domain models: reads history
utils/timeline.py - Domain models → SQLAlchemy database: declares tables
models.py - Flask application → SQLAlchemy database: binds database
app.py - Flask application → Sign-in: registers routes
app.py - Flask application → Claim workflow: registers routes
app.py - Flask application → User and event admin: registers routes
app.py - Flask application → Profile settings: registers routes
app.py