CashBook: Cross-Platform Desktop Financial Manager
Desktop Financial Management · Offline Ledger & Subprocess Architecture
System Summary
Cross-platform desktop and PWA personal finance application built with an ASP.NET Core (.NET 10 / C# 13) backend subprocess, React 19 + TypeScript UI, offline SQLite storage, local-only bank statement import profiles, and 188+ automated xUnit/Moq tests.
Key Highlights
Tech Stack
Direct Ownership & Responsibilities
- Architected the desktop application where an Electron 33 shell hosts the React 19 + TypeScript UI and orchestrates the ASP.NET Core (.NET 10) backend API as a native subprocess over local IPC, plus a mobile-responsive PWA mode via vite-plugin-pwa.
- Built versioned bank statement import profiles (CSV, XLS, XLSX) with local-only parsing and automatic PII masking for account numbers, PANs, phone numbers, and emails in saved samples and signatures.
- Implemented a high-performance TanStack Table ledger with multi-column sorting, multi-select description and status filtering, fast-entry keyboard shortcuts, smart description autocomplete, and ClosedXML multi-account Excel and Zip export.
- Engineered cross-platform packaging (Windows NSIS installer, zero-install portable mode with dynamic database path detection, and macOS DMG/ZIP), GitHub Actions release automation with electron-updater, and 188+ automated xUnit & Moq tests.
Architecture Overview
Desktop subprocess and PWA architecture: Electron 33 shell hosting a React 19 + TypeScript SPA communicating over HTTP REST with a local ASP.NET Core (.NET 10 / C# 13) backend subprocess running EF Core 10 with SQLite, plus a vite-plugin-pwa web build for mobile access.
Engineering Challenges
Managing native subprocess lifecycles and database path resolution across Windows (NSIS/portable) and macOS builds, parsing varied bank statement formats locally without storing sensitive raw files, and keeping multi-account recalculations and exports fast.
Outcomes & Production Impact
Delivered an offline-first personal finance manager with sub-second ledger recalculation, privacy-preserving statement imports, automated GitHub Releases updates, and 188+ passing automated tests covering controllers, repositories, validators, and migrations.
Technical Notes & Optimization
Source code and test suite publicly available on GitHub (https://github.com/Shubh-27/cashbook). Includes point-in-time SQLite backup/restore, FluentValidation request validation, and ClosedXML workbook generation.