Track income and expenses by category, see monthly totals, your overall balance, a 6-month income vs. expense bar chart, and a spending-by-category donut chart.
- Frontend: Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS 4, hand-built SVG charts
- Backend: Next.js Route Handlers (REST API) with server-side validation
- Database: PostgreSQL (Neon) — falls back to in-process PGlite when
DATABASE_URLis not set
| Method | Route | Description |
|---|---|---|
| GET | /api/transactions |
List your transactions |
| POST | /api/transactions |
Add { type: "income" | "expense", amount, category, note?, date? } |
| DELETE | /api/transactions/:id |
Delete a transaction |
Each browser gets its own data via an anonymous uid cookie.
npm install
npm run devSet DATABASE_URL to a Postgres connection string for persistent storage; tables are created automatically.