Skip to content

Latest commit

Β 

History

History
120 lines (91 loc) Β· 3.48 KB

File metadata and controls

120 lines (91 loc) Β· 3.48 KB

Coin-Track Frontend

GitHub

A modern, beautiful, and responsive React frontend for Coin-Track, an expense tracking application with WhatsApp integration.


πŸš€ Tech Stack

  • React 19
  • Vite (blazing fast dev/build tool)
  • Tailwind CSS (utility-first styling)
  • React Router v7 (routing)
  • Axios (API requests)
  • Recharts (data visualization)
  • Lucide React (icon library)

πŸ“¦ Project Structure

frontend/
β”œβ”€β”€ public/                # Static assets
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/           # Images, icons, etc.
β”‚   β”œβ”€β”€ components/       # Reusable UI components
β”‚   β”œβ”€β”€ contexts/         # React context (Auth, etc.)
β”‚   β”œβ”€β”€ pages/            # Main app pages (Dashboard, Login, Register, etc.)
β”‚   β”œβ”€β”€ App.jsx           # Main app component (routing)
β”‚   β”œβ”€β”€ main.jsx          # Entry point
β”‚   └── index.css         # Global styles
β”œβ”€β”€ package.json          # Dependencies & scripts
β”œβ”€β”€ tailwind.config.js    # Tailwind CSS config
β”œβ”€β”€ vite.config.js        # Vite config
└── README.md             # This file

βš™οΈ Setup & Installation

  1. Clone the repository:
    git clone https://github.com/dhananjay6561/Coin-Track.git
    cd Coin-Track/frontend
  2. Install dependencies:
    npm install
  3. Run the app locally:
    npm run dev
  4. Build for production:
    npm run build

🌟 Main Features

  • User Authentication (register, login, JWT-based session)
  • Expense Dashboard with stats, charts, and quick actions
  • Add/Edit/Delete Expenses with category, description, and date
  • Expense History with search, filter, sort, and pagination
  • Profile Management (view/update user info)
  • WhatsApp Integration (log expenses via WhatsApp, see onboarding in Dashboard)
  • Responsive Design (works beautifully on all devices)
  • Modern UI/UX (animated backgrounds, cards, and transitions)

πŸ—ΊοΈ App Pages

  • Landing: Welcome, features, and call-to-action
  • Register: Create a new account (name, email, password, WhatsApp)
  • Login: Sign in (with demo account option)
  • Dashboard: Overview, stats, charts, WhatsApp onboarding
  • Expenses: Full expense history, search/filter/sort
  • Add/Edit Expense: Forms for managing expenses
  • Profile: View and update user info

🧩 Key Components

  • Navbar: Top navigation bar
  • ExpenseCard: Displays individual expense
  • StatsBox: Shows key stats (total, weekly, top category, WhatsApp status)
  • ExpenseChart: Visualizes expenses by category
  • WhatsappIntegration: Onboarding for WhatsApp logging
  • Toast: Notification popups
  • Loader: Loading spinner
  • ProtectedRoute: Guards private routes

🧩 Related


πŸ”— Backend API

This frontend connects to the Coin-Track backend for all data and authentication. See backend README for full API specs.


πŸ“ž Contact


Made with ❀️ by Dhananjay Aggarwal