How snroy380/finnytic works
Finnytic is a personal-finance application for tracking transactions, budgets, savings goals, recurring payments, and financial trends. Users enter through authentication, then use dashboard and feature pages to manage finances and view analytics; the React client calls an Express API that applies authentication and delegates domain operations to a persistence layer. The README also documents theme preferences and Firebase/local persistence. Backend analytics and ML capabilities are represented from the documented routes and tree; their detailed runtime wiring was not sampled.
Main entry points: App.tsx App shell · index.ts API route map · store.ts Domain store · api.ts API client
Components 29
Finance client
- App shell
src/App.tsx - App layout
src/components/layout/AppLayout.tsx - Dashboard
src/pages/Dashboard.tsx - Transactions
src/pages/Transactions.tsx - Budgets
src/pages/Budgets.tsx - Savings goals
src/pages/Goals.tsx - Recurring items
src/pages/Recurring.tsx - Analytics view
src/pages/Analytics.tsx - Theme preferences
src/context/ThemeContext.tsx
Identity and access
- Sign-in and registration
src/pages/AuthPage.tsx - Auth state
src/context/AuthContext.tsx - Auth routes
server/src/routes/authRoutes.ts - Auth operations
server/src/controllers/authController.ts - JWT verification
server/src/middleware/auth.ts
Finance operations
- Transaction operations
server/src/controllers/transactionController.ts - Budget operations
server/src/controllers/budgetController.ts - Goal operations
server/src/controllers/goalController.ts - Recurring operations
server/src/controllers/recurringController.ts
API and persistence
- API client
src/services/api.ts - Express API
server.ts - API route map
server/src/routes/index.ts - Domain store
server/src/services/store.ts - MongoDB
server/src/config/db.ts - Firebase
- Browser persistence
Insights and integrations
- Analytics operations
server/src/controllers/analyticsController.ts - ML endpoints
server/src/controllers/mlController.ts - ML service
ml_service/main.py
Other components
- Finance user
Connections 37
- Finance user → App shell: uses
README.md - App shell → Sign-in and registration: shows when signed out
src/App.tsx - App shell → App layout: renders signed-in shell
src/App.tsx - App shell → Dashboard: selects page
src/App.tsx - App shell → Transactions: selects page
src/App.tsx - App shell → Budgets: selects page
src/App.tsx - App shell → Savings goals: selects page
src/App.tsx - App shell → Recurring items: selects page
src/App.tsx - App shell → Analytics view: selects page
src/App.tsx - App shell → Auth state: wraps with provider
src/App.tsx - App shell → Theme preferences: wraps with provider
src/App.tsx - Auth state → API client: calls
src/context/AuthContext.tsx - Auth state → Firebase: uses authentication
src/context/AuthContext.tsx - Auth state → Browser persistence: persists session
README.md - Dashboard → API client: requests finance data
src/pages/Dashboard.tsx - Transactions → API client: requests transactions
src/pages/Transactions.tsx - Finance user → API client: manages finance
README.md - API client → Express API: sends API requests
README.md - Express API → API route map: mounts routes
server.ts - API route map → Auth routes: mounts
server/src/routes/index.ts - API route map → Transaction operations: routes transactions
server/src/routes/index.ts - API route map → Budget operations: mounts budget routes
server/src/routes/index.ts - API route map → Goal operations: mounts goal routes
server/src/routes/index.ts - API route map → Recurring operations: mounts recurring routes
server/src/routes/index.ts - API route map → Analytics operations: mounts analytics routes
server/src/routes/index.ts - API route map → ML endpoints: mounts ML routes
server/src/routes/index.ts - Auth routes → Auth operations: dispatches
server/src/routes/authRoutes.ts - Auth routes → JWT verification: protects profile routes
server/src/routes/authRoutes.ts - Auth operations → Domain store: reads and updates users
server/src/controllers/authController.ts - Transaction operations → Domain store: reads and writes transactions
server/src/services/store.ts - Budget operations → Domain store: manages budgets
- Goal operations → Domain store: manages goals
server/src/controllers/goalController.ts - Recurring operations → Domain store: manages schedules
server/src/controllers/recurringController.ts - Recurring operations → Transaction operations: creates due transactions
server/src/controllers/recurringController.ts - Analytics operations → Domain store: derives financial insights
- ML endpoints → ML service: delegates inference
- Domain store → MongoDB: uses when connected
server/src/services/store.ts