Spendwise: Full-Stack Expense Tracker
A production-style expense tracker with user accounts, a spending dashboard, and a searchable, filterable transaction history. Built as a TypeScript monorepo: a React 19 client, an Express REST API on PostgreSQL with Prisma, and a shared package of Zod schemas and types used by both.
- Shared Zod schemas validate forms in the browser and requests on the server, so the rules can't drift apart
- Secure sessions: JWT in an httpOnly, SameSite cookie, bcrypt password hashing, and every query scoped to the signed-in user
- Layered Express API (routes, controllers, services) with one consistent error format and field-level validation errors
- Hardened for production: rate limiting, Helmet security headers, config validated at startup, structured Pino logging, health check, and graceful shutdown
- Correct money and dates: amounts stored as integer cents, expense dates as Postgres DATE, schema managed with Prisma migrations
- Dashboard with charts and KPIs; filters, sorting, and pagination synced to the URL so views can be bookmarked and shared
Demo account
demo@example.com / password123
Hosted on a free tier, so the first load can take up to a minute.




