A simple, responsive expense tracking app built with React, JavaScript, HTML, and CSS. Users can add expenses with a title, amount, and category, view a running total, filter by category, and delete entries.
- Add new expenses with title, amount, and category
- Real-time total calculation
- Filter expenses by category
- Delete individual expenses
- Clean, responsive UI with custom CSS (no external UI library)
- React (functional components + hooks:
useState,useMemo) - JavaScript (ES6+)
- HTML5
- CSS3 (custom styling, flexbox layout)
expense-tracker-react/
βββ package.json
βββ public/
β βββ index.html
βββ src/
βββ index.js
βββ App.js
βββ App.css
βββ components/
βββ ExpenseForm.js
βββ ExpenseList.js
βββ ExpenseItem.js
- Make sure Node.js is installed.
- Open a terminal in this project folder.
- Install dependencies:
npm install - Start the development server:
npm start - Open
http://localhost:3000in your browser.
- Add local storage to persist data between sessions
- Add charts (e.g., pie chart of spending by category) using Chart.js or Recharts
- Connect to a backend (Node/Express or Python Flask) for multi-user support