mirror of
https://github.com/mosh-hamedani/expense-tracker-starter.git
synced 2026-05-21 11:58:31 +02:00
840 B
840 B
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
Expense tracker app from Mosh's Claude Code course. It intentionally has bugs, poor UI, and messy code — all fixed throughout the course.
Commands
npm run dev— Start Vite dev server (http://localhost:5173)npm run build— Production buildnpm run lint— ESLint
Architecture
Single-component React 19 app with Vite 7. All state and UI live in src/App.jsx — no routing, no state library, no backend. Plain CSS styling via App.css and index.css.
Known Intentional Issues
- Transaction amounts stored as strings, so
reduce()concatenates instead of summing - "Freelance Work" is typed as "expense" instead of "income"