Skip to content

When you're trying to figure out which card to use for the best rewards... πŸ˜… If this is you, check out the Credit Card Rewards India Calculator to make the decision easier! πŸ’³βœ¨

License

Notifications You must be signed in to change notification settings

aashishvanand/credit-card-rewards-india-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Credit Card Rewards India Calculator

Overview

The Credit Card Rewards India Calculator is a comprehensive tool designed to help users optimize their credit card rewards across multiple banks and credit cards in India. This project aims to simplify the process of comparing rewards based on specific Merchant Category Codes (MCCs) and finding the best card for various spending patterns.

Features

  • Multi-bank support: Calculate rewards for cards from AMEX, Axis Bank, BOB, HDFC, HSBC, ICICI, IDFC First, IndusInd, Kotak, OneCard, RBL, SBI, Scapia, Standard Chartered, Yes Bank and AU Bank.
  • MCC-based calculations: Accurately calculate rewards based on specific Merchant Category Codes.
  • User-friendly interface: Easy-to-use calculator with intuitive design.
  • Dark mode support: Toggle between light and dark themes for comfortable viewing.
  • Responsive design: Works seamlessly across desktop and mobile devices.
  • Real-time calculations: Instantly see reward points or cashback for your transactions.
  • International spend option: Calculate rewards for both local and international transactions.

How to Use

  1. Select your bank from the dropdown menu.
  2. Choose your specific credit card.
  3. (Optional) Select the Merchant Category Code (MCC) for your transaction.
  4. Enter the spent amount in INR.
  5. If applicable, choose between local or international spend.
  6. Click "Calculate Rewards" to see your earnings.

Technology Stack

  • React.js
  • Material-UI (MUI)
  • Next.js (inferred from the use of 'use client')
  • Firebase (for authentication and data storage)

Installation and Setup

# Clone the repository
git clone https://github.com/aashishvanand/credit-card-rewards-india-calculator.git

# Navigate to the project directory
cd credit-card-rewards-india-calculator

# Install dependencies
npm install

# Run the development server
npm run dev

Firebase Setup

To run this project locally, you need to set up a Firebase project and add the configuration to your local environment. Follow these steps:

  1. Go to the Firebase Console.
  2. Click on "Add project" and follow the setup wizard to create a new project.
  3. Once your project is created, click on the web icon (</>) to add a web app to your project.
  4. Register your app with a nickname (e.g., "credit-card-rewards-calculator").
  5. Copy the Firebase configuration object.
  6. In your project root, create a file named .env.local.
  7. Add the following environment variables to .env.local, replacing the xxx with your actual Firebase configuration values:
NEXT_PUBLIC_FIREBASE_API_KEY=xxx
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=xxx
NEXT_PUBLIC_FIREBASE_PROJECT_ID=xxx
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=xxx
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=xxx
NEXT_PUBLIC_FIREBASE_APP_ID=xxx
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=xxx
  1. Save the .env.local file. Make sure to add .env.local to your .gitignore file to prevent sensitive information from being committed to your repository.

Contributing

We welcome contributions to improve the Credit Card Rewards India Calculator! If you notice a missing bank or card, you can use the "Bank or Card Missing?" feature within the app to submit new information.

For more substantial contributions:

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

License

This project is licensed under the MIT License. See the LICENSE file for details.

Attribution Requirements

If you use, modify, or distribute this project, please provide attribution by including the following:

  1. The name of the project: Credit Card Rewards India Calculator
  2. The project's GitHub repository URL: https://github.com/aashishvanand/credit-card-rewards-india-calculator
  3. The name of the original author: Aashish Vivekanand

Example attribution:

This project is based on the Credit Card Rewards India Calculator (https://github.com/aashishvanand/credit-card-rewards-india-calculator) by Aashish Vivekanand.

Visit the live calculator: Credit Card Rewards Calculator

Optimize your rewards and make the most of your credit card benefits with our comprehensive Credit Card Rewards Calculator!

About

When you're trying to figure out which card to use for the best rewards... πŸ˜… If this is you, check out the Credit Card Rewards India Calculator to make the decision easier! πŸ’³βœ¨

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published