Skip to content

Crysourceit/React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’° FinTrack - Personal Finance Tracker

A modern React-based personal finance tracking application with dark/light theme support and responsive design.

✨ Features

  • πŸ“Š Financial Overview: Track income and expenses with detailed reports
  • πŸŒ“ Dark/Light Theme: Toggle between themes with preference persistence
  • πŸ“± Responsive Design: Mobile-first design that works on all devices
  • ⚑ Modern UI: Clean, professional interface with smooth animations
  • πŸ’Ύ Local Storage: Theme preferences saved automatically
  • 🎨 Modern Styling: CSS Grid, Flexbox, and CSS custom properties

πŸ› οΈ Tech Stack

πŸš€ Installation

Prerequisites

  • Node.js 16.0 or higher
  • npm or pnpm package manager

Setup Instructions

  1. Clone the repository

    git clone https://github.com/yourusername/fintrack.git
    cd fintrack
  2. Install dependencies

    npm install
    # or
    pnpm install
  3. Start the development server

    npm run dev
    # or
    pnpm dev
  4. Open your browser Navigate to http://localhost:5173 (or the URL shown in your terminal)

πŸ“± Available Scripts

# Development server with hot reload
npm run dev

# Build for production
npm run build

# Preview production build locally
npm run preview

πŸ—οΈ Project Structure

src/
β”œβ”€β”€ components/           # React components
β”‚   β”œβ”€β”€ FormComponents.jsx   # Transaction form
β”‚   β”œβ”€β”€ Transaction.jsx      # Transaction list
β”‚   β”œβ”€β”€ ReportComponent.jsx  # Financial reports
β”‚   β”œβ”€β”€ ThemeToggle.jsx      # Theme switcher
β”‚   └── ...                  # Component-specific CSS files
β”œβ”€β”€ contexts/            # React contexts
β”‚   └── ThemeContext.jsx     # Theme management
β”œβ”€β”€ Data/               # Data management
β”‚   └── DataContext.jsx      # App-wide data context
β”œβ”€β”€ styles/             # Global styles
β”‚   └── ThemeToggle.css     # Theme-specific styles
β”œβ”€β”€ App.jsx             # Main application component
β”œβ”€β”€ main.jsx            # Application entry point
β”œβ”€β”€ App.css             # Application styles
└── index.css           # Global styles

🎨 Features in Detail

Financial Tracking

  • Add income and expense transactions
  • Real-time calculation of totals
  • Visual reports and summaries
  • Transaction history

Theme System

  • Dark and light theme support
  • System preference detection
  • LocalStorage persistence
  • Smooth theme transitions

Responsive Design

  • Mobile-first approach
  • Grid-based layouts
  • Adaptive navigation
  • Touch-friendly interactions

πŸ”§ Development

Environment Variables

This project doesn't require environment variables for basic functionality. Create a .env file in the root if you need to add API endpoints or configuration:

VITE_API_URL=your_api_url_here

Building for Production

npm run build

The built files will be in the dist/ directory.

Code Style

  • React best practices with hooks
  • Modern ES6+ JavaScript
  • CSS custom properties for theming
  • Responsive design principles

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is for learning purposes. Feel free to use it as a reference for your own projects.

πŸ™ Acknowledgments


Happy tracking! πŸŽ‰

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •