Skip to content

kanan010506/expense-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💸 Expense Tracker

A clean and intuitive expense tracking web application built with React and Vite, deployed on GitHub Pages.

🔗 Live Demo: kanan010506.github.io/expense-tracker


📋 Table of Contents


About

Expense Tracker is a lightweight single-page application that helps you keep track of your income and expenses. It provides a simple and fast interface to add, view, and manage transactions so you always know where your money is going.


✨ Features

  • Add income and expense transactions
  • View current balance at a glance
  • Track transaction history
  • Delete individual transactions
  • Responsive design that works on desktop and mobile
  • Fast, client-side only — no backend required

🛠️ Tech Stack

Technology Purpose
React 19 UI library
Vite 7 Build tool & dev server
gh-pages Deployment to GitHub Pages
JavaScript (ES Modules) Application logic
CSS Styling

🚀 Getting Started

Prerequisites

Make sure you have the following installed:

  • Node.js (v18 or higher recommended)
  • npm (comes with Node.js)

Installation

  1. Clone the repository
   git clone https://github.com/kanan010506/expense-tracker.git
   cd expense-tracker
  1. Install dependencies
   npm install
  1. Start the development server
   npm run dev
  1. Open your browser and navigate to http://localhost:5173

📜 Available Scripts

Script Description
npm run dev Start the local development server
npm run build Build the app for production into the dist/ folder
npm run preview Preview the production build locally
npm run lint Run ESLint to check for code issues
npm run deploy Build and deploy the app to GitHub Pages

📁 Project Structure

expense-tracker/
├── public/             # Static assets
├── src/                # Application source code
│   ├── components/     # React components
│   ├── App.jsx         # Root application component
│   └── main.jsx        # Application entry point
├── index.html          # HTML entry point
├── vite.config.js      # Vite configuration
├── eslint.config.js    # ESLint configuration
└── package.json        # Project metadata and dependencies

🌐 Deployment

This project is configured for deployment to GitHub Pages using the gh-pages package.

To deploy:

npm run deploy

This will automatically build the project and push the dist/ folder to the gh-pages branch of the repository.

The homepage field in package.json is already set to:

https://kanan010506.github.io/expense-tracker/

Made with ❤️ by kanan010506

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors