How llapasaranprincehilary-hash/money works
FINUITY is a browser-based personal-finance app for tracking spending and other money activity, with learning, habit-building, receipt scanning, and paid VIP features. Users record income, expenses, loans, goals, and wallets in the main app; related modules provide summaries, education, coaching, and streak features. VIP purchases are confirmed server-side, while receipt scanning is described as on-device. The excerpts show only selected call and event relationships, so unsampled modules are represented as capabilities without speculative connections.
Main entry points: index.js Payment functions · app.js Finance app · pet.js Fin companion · life.js Habit challenges
Components 19
Money management
- Finance app
app.js - Bills
bills.js - Receipt scanning
scan.js
Habits and guidance
- Streaks
streak.js - Habit challenges
life.js - Fin companion
virtual-pet/pet.js - Fin dialogue
virtual-pet/pet-dialogue.js - Fin coach
virtual-pet/pet-coach.js - Guided tour
virtual-pet/tour.js - Tour steps
virtual-pet/tour-steps.js
Financial learning
- Lessons and quizzes
learn.js
VIP and payments
- VIP plans and limits
vip.js - Payment functions
backend/functions/index.js
App platform
- Icon library
icons.js - Legal content
legal-data.js - Offline and notifications
sw.js
Other components
- User
- PayMongo
- Firebase database
Connections 13
- User → Finance app: records money
- Finance app → Payment functions: requests checkout
backend/functions/index.js - Payment functions → PayMongo: creates checkout
backend/functions/index.js - PayMongo → Payment functions: sends payment event
backend/functions/index.js - Payment functions → Firebase database: writes entitlements
backend/functions/index.js - Payment functions → Firebase database: reads entitlements
backend/functions/index.js - VIP plans and limits → Receipt scanning: starts allowed scans
vip.js - Guided tour → Tour steps: loads steps
virtual-pet/tour.js - Fin companion → Finance app: calls app actions
virtual-pet/pet.js - Fin coach → Finance app: listens to app events
virtual-pet/pet-coach.js - Lessons and quizzes → Finance app: dispatches learning events
learn.js - Fin companion → Fin dialogue: uses dialogue
virtual-pet/pet-dialogue.js - Habit challenges → Streaks: reads streak state
life.js