How shashishekhardixit/finance-management-dashboard works
FinanceFlow manages business finances: users register and sign in, then maintain clients, create and track invoices and payments, record income and expenses, and review GST reports and dashboard analytics. Construction estimates form a separate workflow and can be converted into invoices. The Vue client calls the Express API; routes dispatch to controllers, which calculate domain results and persist records in MongoDB. Relationships among frontend views and stores are kept broad where source excerpts do not establish specific calls. README-documented features are included, but their unsampled implementation links are not asserted.
Main entry points: api.ts API client · index.ts Page routing · server.js HTTP API server · dashboardController.js Dashboard analytics
Components 30
Web application
- FinanceFlow UI
frontend/src/App.vue - Page routing
frontend/src/router/index.ts - App layout
frontend/src/components/layout/AppLayout.vue - API client
frontend/src/utils/api.ts - Sign-in and profile
frontend/src/stores/auth.ts - Finance screens
frontend/src/views/InvoicesView.vue - Estimate screen
frontend/src/views/EstimatesView.vue - GST reports screen
frontend/src/views/GSTReportView.vue - Dashboard screen
frontend/src/views/DashboardView.vue
API and identity
- HTTP API server
backend/server.js - Auth routes
backend/routes/auth.js - Authentication
backend/controllers/authController.js - JWT protection
backend/middleware/auth.js - Client routes
backend/routes/clients.js - Invoice routes
backend/routes/invoices.js - Estimate routes
backend/routes/estimates.js
Finance operations
- Client management
backend/controllers/clientController.js - Invoice and payments
backend/controllers/invoiceController.js - Expense records
backend/controllers/expenseController.js - Income records
backend/controllers/incomeController.js - Construction estimates
backend/controllers/estimateController.js
Reporting
- GST calculations
backend/controllers/gstController.js - Dashboard analytics
backend/controllers/dashboardController.js
MongoDB records
- Client records
backend/models/Client.js - Invoice records
backend/models/Invoice.js - Estimate records
backend/models/Estimate.js - Expense records
backend/models/Expense.js - Income records
backend/models/Income.js - User records
backend/models/User.js
Other components
- Business user
Connections 36
- Business user → FinanceFlow UI: uses
- FinanceFlow UI → Page routing: loads
- FinanceFlow UI → App layout: presents
- Page routing → Finance screens: routes to
- Page routing → Estimate screen: routes to
- Page routing → GST reports screen: routes to
- Page routing → Dashboard screen: routes to
- Finance screens → API client: requests data
- Estimate screen → API client: requests data
- GST reports screen → API client: requests reports
- Dashboard screen → API client: requests metrics
- Sign-in and profile → API client: requests auth
- API client → HTTP API server: calls API
- HTTP API server → Auth routes: mounts
backend/server.js - HTTP API server → Client routes: mounts
backend/server.js - HTTP API server → Invoice routes: mounts
backend/server.js - HTTP API server → Estimate routes: mounts
backend/server.js - Auth routes → Authentication: dispatches
backend/routes/auth.js - Auth routes → JWT protection: protects
backend/routes/auth.js - Client routes → Client management: dispatches
backend/routes/clients.js - Client routes → JWT protection: protects
backend/routes/clients.js - Invoice routes → Invoice and payments: dispatches
backend/routes/invoices.js - Estimate routes → Construction estimates: dispatches
backend/routes/estimates.js - Authentication → User records: reads and writes
backend/controllers/authController.js - JWT protection → User records: loads user
backend/middleware/auth.js - Client management → Client records: reads and writes
backend/controllers/clientController.js - Invoice and payments → Invoice records: reads and writes
backend/controllers/invoiceController.js - Invoice and payments → Client records: updates totals
backend/controllers/invoiceController.js - Construction estimates → Estimate records: reads and writes
backend/controllers/estimateController.js - Construction estimates → Invoice records: creates invoice
backend/controllers/estimateController.js - GST calculations → Invoice records: aggregates
backend/controllers/gstController.js - GST calculations → Expense records: aggregates
backend/controllers/gstController.js - Dashboard analytics → Invoice records: aggregates
backend/controllers/dashboardController.js - Dashboard analytics → Expense records: aggregates
backend/controllers/dashboardController.js - Dashboard analytics → Income records: aggregates
backend/controllers/dashboardController.js - Dashboard analytics → Client records: counts clients
backend/controllers/dashboardController.js