Skip to content

Simple React Expense Tracker built with Vite. Uses context, reducer, and local storage.

License

Notifications You must be signed in to change notification settings

k26rahul/Expense-Tracker-React

Repository files navigation

Expense Tracker

A simple React expense tracker built with Vite. Uses context, reducer, and local storage. No CSS library used.

Created by following: 🔗 Build an Expense Tracker | React Hooks & Context API | Traversy Media.

How to Run

  1. Clone the repository.
  2. Install dependencies: npm install.
  3. Start the development server: npm run dev.

Folder Structure

└───src
    │   App.css
    │   App.jsx
    │   main.jsx
    │
    ├───assets
    ├───components
    │   │   AddTransactionForm.jsx
    │   │   Balance.jsx
    │   │   History.jsx
    │   │   HistoryItem.jsx
    │   │   IncomeExpense.jsx
    │   │
    │   └───css
    │           AddTransactionForm.css
    │           Balance.css
    │           History.css
    │           IncomeExpense.css
    │
    └───context
            AppReducer.js
            GlobalState.jsx
            initialState.js

About

Simple React Expense Tracker built with Vite. Uses context, reducer, and local storage.

Resources

License

Stars

Watchers

Forks