HUB
Sign inSign up
finance-dashboard logo

nmalya99/finance-dashboard

By nmalya99

•Updated 5 months ago

Working Finance Analysis Dashboard © Developed By Nirmalya Maity 2026

Image
API management
Databases & storage
Web analytics
0

908

nmalya99/finance-dashboard repository overview

⁠Finance Dashboard

A self-contained personal finance dashboard application for analyzing bank statements, tracking income and expenses, categorizing transactions, and generating real-life financial insights from uploaded statement files.

This image packages the complete application into a single Docker container, including the PostgreSQL database, FastAPI backend, React frontend, database initialization, and application startup logic. After running the container, users can open the browser, create an account, upload a bank statement, and start analyzing their finances immediately.

⁠Key Features

  • One-container setup with PostgreSQL, backend, and frontend included
  • First-time signup and login flow
  • Local user authentication with JWT
  • HDFC bank statement upload support
  • CSV, XLSX, and XLS file upload support
  • Automatic database, schema, and metadata table initialization
  • Instance-based finance dashboards
  • Dynamic transaction tables for each uploaded statement instance
  • Duplicate transaction prevention using stable row hashing
  • Rule-based transaction categorization
  • UPI merchant extraction
  • Salary, family transfer, food delivery, transport, POS, and uncategorized tracking
  • Real-life personal finance analytics
  • Local deterministic AI-style financial insights without requiring external APIs
  • Premium glassmorphism dashboard UI
  • Persistent database and upload storage using Docker volumes

⁠Current Bank Support

The application currently supports HDFC bank statement format with the following columns:

  • Date
  • Narration
  • Chq./Ref No.
  • Value Date
  • Withdrawal Amount
  • Deposit Amount
  • Closing Balance

Support for additional banks such as SBI, ICICI, BOI, and PNB can be added later through the parser architecture.

⁠Analytics Included

The dashboard provides practical finance analytics such as:

  • Total income
  • Total expenses
  • Net cashflow
  • Savings rate
  • Latest balance
  • Average daily spend
  • Average monthly spend
  • Income vs expense trend
  • Category-wise expense
  • Sub-category-wise expense
  • Top merchants
  • Recent transactions
  • Highest debit and credit transactions
  • Monthly spending patterns
  • Estimated financial runway
  • Uncategorized transaction tracking
  • Smart financial insights and recommendations

⁠Run the Application

docker run -d `
  --name finance-dashboard `
  -p 8080:8080 `
  -v finance_dashboard_pgdata:/var/lib/postgresql/data `
  -v finance_dashboard_uploads:/app/uploads `
  -e POSTGRES_DB=finance_dashboard `
  -e POSTGRES_USER=finance_user `
  -e POSTGRES_PASSWORD=replace-this-password `
  -e JWT_SECRET_KEY=replace-this-with-a-long-secret-key `
  <your-dockerhub-username>/finance-dashboard:latest

Then open:

http://localhost:8080

⁠First-Time Usage

  1. Open the application in your browser.
  2. Create a new account from the signup page.
  3. Login with your username and password.
  4. Create a new finance instance.
  5. Select HDFC as the bank.
  6. Upload your HDFC CSV/XLSX/XLS statement.
  7. Open the generated dashboard.
  8. Review income, expenses, categories, merchants, trends, and insights.

⁠Data Persistence

The container uses Docker volumes for persistence:

  • PostgreSQL data: /var/lib/postgresql/data
  • Uploaded statement files: /app/uploads

This means your users, uploaded statements, transaction tables, and dashboard data remain available after restarting the container.

⁠Environment Variables

VariableDescriptionExample
POSTGRES_DBApplication database namefinance_dashboard
POSTGRES_USERPostgreSQL application userfinance_user
POSTGRES_PASSWORDPostgreSQL passwordreplace-this-password
JWT_SECRET_KEYSecret key for authentication tokensreplace-this-with-a-long-secret-key
APP_PORTApplication port inside the container8080
DB_SCHEMAPostgreSQL schema used by the appfinance_app
UPLOAD_DIRUpload storage directory/app/uploads
MAX_UPLOAD_MBMaximum upload size20
AI_PROVIDERInsight engine providerlocal

⁠Architecture

The application uses a single PostgreSQL schema named finance_app.

Core metadata tables include:

  • users
  • instances
  • categorization_rules
  • import_logs

Each uploaded statement creates a dedicated dynamic transaction table inside the same schema. This keeps each finance dashboard instance isolated while maintaining a simple one-schema database architecture.

⁠Security Notes

  • No real bank statements are included in the image.
  • No user data is included in the image.
  • Runtime secrets should be provided through Docker environment variables.
  • Uploaded files and database data are stored only in the user’s Docker volumes.
  • External AI APIs are not required by default.
  • The built-in insight engine runs locally.

⁠Reset All Data

To fully reset the application, remove the container and volumes:

docker stop finance-dashboard
docker rm finance-dashboard
docker volume rm finance_dashboard_pgdata finance_dashboard_uploads

Use this carefully, as it deletes all users, uploaded files, and imported transaction data.

⁠Ideal For

  • Personal finance tracking
  • Bank statement analysis
  • Local-first financial dashboards
  • Learning FastAPI, React, PostgreSQL, and Docker
  • Building a self-contained analytics application
  • Extending bank parsers and transaction categorization rules
Tag summary
Recent tags
Content type
Image
Digest
sha256:6c2bd041b…
Size
210.3 MB
Last updated
5 months ago
docker pull nmalya99/finance-dashboard:latest