Skip to content

Hussain-hamim/Expense-Tracker

Repository files navigation

Expense Tracker App

This is a simple expense tracker app built with React. It allows users to manage their expenses by adding, deleting, and filtering based on categories.

Features

  • Expense List: View a list of expenses with details such as description, amount, and category.
  • Expense Form: Add new expenses with a form that includes validation for description, amount, and category.
  • Expense Filter: Filter expenses based on categories to easily view specific types of expenses.

Project Structure

The project is organized into the following components:

  • ExpenseList: Displays a table of expenses.
  • ExpenseForm: Form for adding new expenses with validation.
  • ExpenseFilter: Dropdown for filtering expenses by category.

Technologies Used

  • React
  • React Hook Form for form handling
  • Zod for form validation
  • Bootstrap for styling

Setup Instructions

  1. Clone the repository.
  2. Install dependencies using npm install.
  3. Run the app with npm start.
  4. Access the app in your browser at http://localhost:3000.

Usage

  • Add new expenses using the form.
  • Delete expenses using the delete button in the expense list.
  • Filter expenses by category using the category dropdown.

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and submit a pull request.

License

This project is licensed under the MIT License.

Feel free to customize the README based on your specific project details and additional information you want to provide.