An expense tracker with beautiful animations and comprehensive financial insights.
- π° 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
- π 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
- β¨ 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
- Bottom navigation
- Floating action button
- Touch-optimized interface
- Fixed sidebar navigation
- Multi-column dashboard
- Hover interactions
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
- Node.js 18.0 or later
- npm or yarn
- 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