A modern, responsive invoice generator web application built with React, TypeScript, and Tailwind CSS.
- Create & Manage Invoices: Create, edit, duplicate, and delete invoices
- Business & Client Details: Input comprehensive business and client information
- Line Items: Add multiple line items with descriptions, quantities, prices, tax, and discounts
- Multi-Currency Support: Supports USD, EUR, GBP, NGN, and other African currencies
- Professional Templates: Choose from multiple invoice templates
- PDF Export: Download invoices as PDF and print-ready formats
- Local Storage: All data persists locally in your browser
- Responsive Design: Works seamlessly on desktop and mobile devices
This project is optimized for GitHub Pages deployment.
-
Enable GitHub Pages in your repository:
- Go to Settings > Pages
- Under "Build and deployment", select "GitHub Actions" as the source
-
Update the base path:
- Open
vite.config.ts - Change the base path from
/spark-template/to/<your-repo-name>/
base: process.env.GITHUB_PAGES === 'true' ? '/<your-repo-name>/' : '/',
- Open
-
Deploy:
- Push to the
mainbranch - The GitHub Actions workflow will automatically build and deploy your app
- Your app will be available at
https://<your-username>.github.io/<your-repo-name>/
- Push to the
You can also build and deploy manually:
# Build for GitHub Pages
npm run build:gh-pages
# Or use the deploy script
npm run deploy# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview- React 19 with TypeScript
- Vite for fast builds and development
- Tailwind CSS for styling
- Shadcn UI components
- Radix UI primitives
- Framer Motion for animations
- Phosphor Icons for iconography
Works on all modern browsers with localStorage support.
MIT License - Copyright GitHub, Inc.