How 7immin/finmate works
FinMate is a financial app for international students in Korea. Users sign up, complete onboarding, then submit documents or complete purpose-based payment flows to raise transfer limits and build a shareable financial passport. The graph also preserves the documented AI, fraud-screening, university-notice, and bank-report capabilities. Several page and API implementations were not sampled; those nodes reflect README-described capabilities, and their links are cited to that documentation rather than inferred from filenames.
Main entry points: passport.ts Passport Rules · [code]/page.tsx Public Bank Report · route.ts Document Verification · signup/page.tsx Sign Up / Login
Components 22
Access and State
- Sign Up / Login
app/signup/page.tsx - Profile Onboarding
components/flows/onboarding/OnboardingForm.tsx - App State
lib/state/AppStateContext.tsx - Initial State
lib/server/state.ts - Supabase
- Home Dashboard
app/(app)/home/page.tsx
Financial Passport
- Financial Passport
app/(app)/passport/page.tsx - Passport Rules
lib/server/passport.ts - Document Verification
app/api/passport/verify/route.ts - Document OCR
lib/ai/ocr.ts
Purpose Flows
- Tuition Payment
app/(app)/tuition/page.tsx - International Remittance
app/(app)/remittance/page.tsx - Bank Account Setup
app/(app)/account/page.tsx - Rental Deposit
app/(app)/deposit/page.tsx
Guidance and Safety
- FinMate AI
app/api/ai/chat/route.ts - Fraud Screening
app/api/shield/route.ts - University Notices
app/(app)/notice/page.tsx - Notice Retrieval
app/api/notice/route.ts
Bank Reporting
- Public Bank Report
app/verify/[code]/page.tsx - Report View
components/flows/passport/ReportView.tsx
Other components
- Student
- Google Gemini
Connections 27
- Student → Sign Up / Login: signs up
README.md - Sign Up / Login → Profile Onboarding: continues to
README.md - Profile Onboarding → Supabase: creates profile
README.md - Student → Home Dashboard: uses app
README.md - Initial State → Supabase: loads state
lib/server/state.ts - Home Dashboard → App State: reads state
- App State → Supabase: syncs user data
lib/state/AppStateContext.tsx - Student → Tuition Payment: submits tuition proof
README.md - Student → International Remittance: requests transfer
README.md - Student → Bank Account Setup: prepares account
README.md - Student → Rental Deposit: checks rental
README.md - Tuition Payment → Passport Rules: raises limit
README.md - International Remittance → Passport Rules: checks limit
README.md - Bank Account Setup → Financial Passport: builds readiness
README.md - Rental Deposit → Passport Rules: submits evidence
README.md - Student → Financial Passport: reviews progress
README.md - Document Verification → Document OCR: extracts document data
app/api/passport/verify/route.ts - Document Verification → Passport Rules: completes checklist
app/api/passport/verify/route.ts - Passport Rules → Supabase: reads and updates
lib/server/passport.ts - Student → FinMate AI: asks questions
README.md - FinMate AI → Google Gemini: generates response
README.md - Student → Fraud Screening: checks suspicious message
README.md - Student → University Notices: views schedules
README.md - University Notices → Notice Retrieval: fetches notices
- Student → Public Bank Report: shares verification code
README.md - Public Bank Report → Supabase: loads report data
README.md - Public Bank Report → Report View: renders report
app/verify/[code]/page.tsx