A simple Expense Tracker application built with React to manage and track your expenses.
- Add Expenses: Enter the name and amount of an expense.
- View Expenses: Displays a list of all expenses with their amounts.
- Delete Expenses: Remove individual expenses from the list.
- Responsive UI: Optimized for different screen sizes.
Check out the live version here.
Follow these instructions to set up the project on your local machine.
Make sure you have the following installed:
- Node.js (v16 or above)
- npm (Node Package Manager)
-
Clone the Repository
git clone https://github.com/yourusername/expense-tracker.git cd expense-tracker
-
Install Dependencies
npm install
-
Start the Development Server
npm start
The app will run at
http://localhost:3000
. -
Build for Production
npm run build
This will generate a production-ready build in the
build
folder.
The ExpenseForm
component allows users to input the name and amount of an expense.
The form includes validation to ensure both fields are filled before submission.
The ExpenseList
component displays the list of expenses and includes a delete button for each expense.
- Frontend: React, JavaScript
- Styling: Tailwind CSS
Contributions are welcome! Please follow these steps:
- Fork the project.
- Create a feature branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "Add your message"
- Push to the branch:
git push origin feature/your-feature-name
- Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
ArvanHunt(https://github.com/ArvanHunt/expense-tracker-react)
Feel free to reach out with feedback or suggestions!