← Back to Projects

Tallybird

Full Stack Developer · In Progress

Overview

Full-stack personal finance dashboard: multiple accounts in any currency, income, expense and transfer tracking, per-category monthly budgets, and an investments portfolio with profit/loss. Balances change only through transactions, so the ledger and the balance can never disagree. A React 19 + TypeScript client sits on an Express 5 + TypeScript API with MongoDB and strict Zod validation.

Key Highlights

  • ▹Transfers write a debit and a credit leg, with rollback if anything fails
  • ▹Budgets computed in a single aggregation query — live usage, remaining amount and an over-budget flag
  • ▹Per-user data isolation on every route, rate-limited sign-in, strict Zod validation and helmet headers
  • ▹105 automated tests (99 server, 6 client) with CI running type-check, lint, tests and the client build

Tech Stack

React.jsTypeScriptViteNode.jsExpress.jsMongoDBMongooseZodJWTDockerVitestGitHub Actions

Architecture

React 19 + Vite client (CSS Modules design system) → Express 5 TypeScript API (helmet, CORS, rate limiting, JWT auth, Zod validation) → controllers (auth, accounts, transactions, budgets, investments, dashboard) → MongoDB 7 via Mongoose.

Performance Optimizations

GET /api/budgets computes usage for every budget in one aggregation instead of one query per budget: about 260 ms to about 93 ms on 20,000 transactions (from the repository's changelog).

Future Improvements

Spending-trend reports and charts, overspend and bill alerts, refresh tokens with httpOnly cookies, MongoDB transactions, an OpenAPI spec, and search plus pagination in the UI.