A smart, responsive web application designed to help you decide exactly which credit card to use for any purchase. The app optimizes for two distinct strategies: Maximizing Payment Delay (Float) and Maximizing Rewards (Return on Spend).
- Goal: Maximize the "interest-free float" by delaying payment as long as possible.
- Logic: Calculates the days remaining until the due date based on your statement closing date.
- Recommendation: Prioritizes cards that have just started a new billing cycle, giving you up to ~55 days to pay.
- Goal: Maximize the dollar value returned per $100 spent.
- Logic: Compares reward multipliers (e.g., 4x points) against point valuations (e.g., 1.5 cents/point) to determine the "Effective Return."
- Category Support: Dining, Groceries, Travel, Gas, Drugstores, and specialized categories like Marriott Hotels and United Flights.
- Tie-Breaking: If multiple cards offer the same return, the app highlights all viable options.
- Smart Input: Simply type a card name (e.g., "Sapphire" or "Amex Gold"), and the app simulates an AI lookup to auto-fill the card's provider, color, and complex reward structure.
- Valuation: Automatically assigns estimated cash values to points (e.g., Chase UR = 1.5¢, Amex MR = 1.4¢).
- Category Deep-Dive: Click on any category (e.g., Dining) to see a ranked table of all your cards for that specific spend.
- Card Details: Click on any card to see a full breakdown of its benefits and notes.
- Framework: React + Vite
- Styling: Tailwind CSS
- Icons: Lucide React
- Deployment: GitHub Pages
-
Clone the repository:
git clone https://github.com/yourusername/card-optimizer.git cd card-optimizer -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser: Navigate to
http://localhost:5173to view the app.
This project is configured for deployment via GitHub Pages.
-
Make sure your
package.jsonhas thehomepagefield set:"homepage": "https://yourusername.github.io/card-optimizer"
-
Run the deploy script:
npm run deploy
-
Your app will be live at the URL specified in
homepagewithin a few minutes.
This app is fully responsive and installable.
- iOS: Open in Safari -> Share -> "Add to Home Screen"
- Android: Open in Chrome -> Menu -> "Add to Home screen"
Built with React & Tailwind CSS.