How rekcah97/financo works
Financo is a personal-finance application with a React interface and an Express/Prisma API. Users can sign in and manage categories, transactions, saving goals and allocations, and view summaries. The sampled interface currently supplies mock category and transaction state; the excerpts do not show it calling the API, so that connection is left unverified. Backend route/controller and persistence links follow the source index and sampled imports; several feature implementations were not excerpted.
Main entry points: index.js API route registry · App.jsx App routing · db.config.js Prisma database · auth.Routes.js Authentication routes
Components 21
Web interface
- App routing
frontend/src/App.jsx - Auth pages
frontend/src/pages/auth - Category management
frontend/src/pages/Categories - Goal management
frontend/src/pages/Goals - Transaction views
frontend/src/pages/Transactions - Category state
frontend/src/context/CategoryContext.jsx - Goal state
frontend/src/context/GoalsContext.jsx - Transaction state
frontend/src/context/TransactionContext.jsx
API and access
- Express application
backend/app.js - API route registry
backend/Routes/index.js - Authentication routes
backend/Routes/auth.Routes.js - JWT verification
backend/middleware/verifyJWT.middleware.js - Account and verification
backend/controllers/auth.Controller.js
Finance features
- Category operations
backend/controllers/category.Controller.js - Transaction operations
backend/controllers/transaction.Controller.js - Saving goals
backend/controllers/savingGoals.Controller.js - Saving allocations
backend/controllers/savingAllocation.Controller.js - Financial summary
backend/controllers/summary.Controller.js - Saving calculations
backend/services/saving.Services.js
Persistence and services
- Prisma database
backend/config/db.config.js
Other components
- User
Connections 28
- User → App routing: uses
frontend/src/App.jsx - App routing → Auth pages: routes to
frontend/src/App.jsx - App routing → Category management: routes to
frontend/src/App.jsx - App routing → Goal management: routes to
frontend/src/App.jsx - App routing → Transaction views: routes to
frontend/src/App.jsx - Category management → Category state: uses
frontend/src/pages/Categories/Categories.jsx - Goal management → Goal state: uses
frontend/src/pages/Goals/Goals.jsx - Transaction views → Transaction state: uses
frontend/src/pages/Transactions/Transactions.jsx - Transaction state → Category state: reads
frontend/src/context/TransactionContext.jsx - App routing → Express application: API calls unverified
- Express application → API route registry: mounts
backend/app.js - API route registry → Authentication routes: registers
backend/Routes/index.js - API route registry → Category operations: routes to
backend/Routes/index.js - API route registry → Transaction operations: routes to
backend/Routes/index.js - API route registry → Saving goals: routes to
backend/Routes/index.js - API route registry → Saving allocations: routes to
backend/Routes/index.js - API route registry → Financial summary: routes to
backend/Routes/index.js - Authentication routes → Account and verification: dispatches
backend/Routes/auth.Routes.js - Authentication routes → JWT verification: verifies protected requests
backend/Routes/auth.Routes.js - Category operations → Prisma database: queries
backend/controllers/category.Controller.js - Transaction operations → Prisma database: queries
backend/controllers/transaction.Controller.js - Saving goals → Prisma database: queries
backend/controllers/savingGoals.Controller.js - Saving allocations → Prisma database: queries
backend/controllers/savingAllocation.Controller.js - Financial summary → Prisma database: queries
backend/controllers/summary.Controller.js - Account and verification → Prisma database: queries
backend/controllers/auth.Controller.js - Saving allocations → Saving calculations: calculates savings
backend/controllers/savingAllocation.Controller.js - Financial summary → Saving calculations: calculates savings
backend/controllers/summary.Controller.js - Saving calculations → Prisma database: aggregates
backend/services/saving.Services.js