Skip to content

πŸš€ Accountable - The Ultimate Expense Tracker, best for people who dont know how they spend their money and end up regretting at the end

License

Notifications You must be signed in to change notification settings

Zakir176/accountable

Repository files navigation

πŸ’Ž Accountable

Accountable Banner

An expense tracker with beautiful animations and comprehensive financial insights.

React Tailwind CSS Vite TypeScript License: MIT PRs Welcome


✨ Features

🎯 Core Functionality

  • πŸ’° Expense Tracking β€” Add, edit, delete expenses with beautiful modals
  • πŸ“Š Financial Overview β€” Real-time balance, income, expenses, and budget tracking
  • 🏷️ Custom Categories β€” Create personalized categories with custom colors
  • πŸ” Smart Search β€” Filter by date, amount, category, and keywords
  • πŸ’Ύ Data Persistence β€” Automatic localStorage saving across sessions

πŸš€ Advanced Features

  • πŸ“ˆ Analytics Dashboard β€” Interactive charts and spending insights
  • πŸ”„ Recurring Expenses β€” Automate daily/weekly/monthly transactions
  • 🎯 Financial Goals β€” Set savings targets with progress tracking
  • πŸ€– AI Insights β€” Smart spending analysis and recommendations
  • πŸ”” Smart Notifications β€” Budget alerts and milestone celebrations
  • πŸ“€ Data Export β€” JSON, CSV, and PDF reports

🎨 Premium Design

  • ✨ Glass Morphism β€” Frosted glass effects
  • 🎭 Smooth Animations β€” 60fps transitions with Framer Motion
  • πŸ“± Fully Responsive β€” Mobile, tablet, and desktop
  • πŸŒ™ Dark Theme β€” Futuristic dark interface with neon accents
  • ⚑ Quick Actions β€” One-tap access to common features

πŸŽ₯ Demo

πŸ“± Mobile Experience

Mobile Demo

  • Bottom navigation
  • Floating action button
  • Touch-optimized interface

πŸ’» Desktop Experience

Desktop Demo

  • Fixed sidebar navigation
  • Multi-column dashboard
  • Hover interactions

πŸ›  Tech Stack

Frontend Framework

  • React 18 β€” UI library with hooks
  • Vite β€” Fast build tool and dev server

Styling & Design

  • Tailwind CSS β€” Utility-first CSS framework
  • Framer Motion β€” Production-ready animations
  • Lucide React β€” Beautiful icons

Data & Charts

  • Recharts β€” Composable charting library
  • Context API + useReducer β€” State management
  • localStorage β€” Data persistence

Code Quality

  • ESLint β€” Code linting
  • Modern ES6+ JavaScript

πŸš€ Quick Start

Prerequisites

  • Node.js 18.0 or later
  • npm or yarn

Installation

  1. Clone the repository
git clone https://github.com/yourusername/accountable.git
cd accountable

Copy

Insert

Install dependencies
npm install
# or
yarn

Copy

Insert

Start the development server
npm run dev
# or
yarn dev

Copy

Insert

Open your browser
http://localhost:5173

Copy

Insert

Building for Production
# Create production build
npm run build

# Preview production build
npm run preview

Copy

Insert

πŸ“ Project Structure
accountable/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ Dashboard.jsx
β”‚   β”‚   β”œβ”€β”€ ExpenseForm.jsx
β”‚   β”‚   β”œβ”€β”€ Analytics.jsx
β”‚   β”‚   β”œβ”€β”€ FinancialGoals.jsx
β”‚   β”‚   β”œβ”€β”€ AIInsights.jsx
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ context/
β”‚   β”‚   └── AppContext.jsx
β”‚   β”œβ”€β”€ hooks/
β”‚   β”‚   β”œβ”€β”€ useTheme.js
β”‚   β”‚   └── useCurrency.js
β”‚   β”œβ”€β”€ App.jsx
β”‚   └── main.jsx
β”œβ”€β”€ public/
└── package.json

Copy

Insert

πŸ’± Currency Hook
A new hook centralizes currency formatting and conversion:

File: src/hooks/useCurrency.js
Exposes:
currency β€” default currency from AppContext
formatAmount(amount, targetCurrency = currency) β€” formats with Intl.NumberFormat
convertAmount(amount, fromCurrency, toCurrency) β€” converts using relative exchange rates
Notes:

Depends on useApp from src/context/AppContext.jsx
Safely defaults to 1 when a rate is missing to avoid runtime errors
🎨 Design System
Color Palette
Primary: #1A1A1A β€” Background, navigation
Accent: #00D1FF β€” Buttons, icons, highlights
Success: #39FF14 β€” Positive indicators, profit
Secondary: #2C3E50 β€” Text, secondary elements
Warning: #FF4500 β€” Errors, alerts
Text: #ECF0F1 β€” Main text, headings
Typography
Headings: Poppins (Semi-bold, Bold)
Body: Montserrat (Light, Regular, Medium)
Code: JetBrains Mono
Components
Border Radius: 10–12px
Shadows: Soft, depth-appropriate
Glass Effects: Backdrop blur with rgba backgrounds
Animations: Smooth 60fps transitions
πŸ”§ Configuration
Environment Variables
Create a .env file in the project root:

VITE_APP_NAME=Accountable
VITE_APP_VERSION=1.0.0

Copy

Insert

Customizing Colors
Edit src/index.css:

:root {
  --color-primary: #1A1A1A;
  --color-accent: #00D1FF;
  --color-success: #39FF14;
}

Copy

Insert

πŸ“± Responsive Design
Mobile (320px–767px) β€” Bottom nav, FAB
Tablet (768px–1023px) β€” Adaptive grids, optimized touch
Desktop (1024px+) β€” Fixed sidebar, multi-column dashboard
πŸš€ Deployment
Vercel
Fork repository
Connect GitHub to Vercel
Import repo and deploy
Netlify
Build project: npm run build
Drag dist folder to Netlify Drop
Other
GitHub Pages, Firebase Hosting, AWS S3 + CloudFront
🀝 Contributing
Fork the repo
Create a feature branch: git checkout -b feature/name
Commit changes: git commit -m "feat: add awesome thing"
Push branch and open a PR
Development Guidelines
Follow code style
Ensure responsiveness
Maintain smooth animations
Test on multiple browsers
Update docs as needed
πŸ› Troubleshooting
Build fails

rm -rf node_modules
npm install

Copy

Insert

Styles not loading

Ensure Tailwind is configured
Verify dependencies
Data not persisting

Check localStorage
Look for console errors
πŸ“ˆ Roadmap
Coming Soon

Light theme
Multi-currency
Data import
Cloud sync
Advanced AI features
Future Plans

Mobile app (React Native)
Bank integration
Investment tracking
Family sharing
Plugin system
πŸ“„ License
MIT β€” see LICENSE

πŸ’™ Support
⭐ Star the repo
πŸ› Report issues
πŸ’‘ Suggest features
πŸ”„ Share with others
![GitHub Stars](https://img.shields.io/github/stars/yourusername/accountable?style=for-the-badge

About

πŸš€ Accountable - The Ultimate Expense Tracker, best for people who dont know how they spend their money and end up regretting at the end

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published