Skip to content

measman/loan-calculator

Repository files navigation

Settlement Finance Calc App

A modern, user-friendly loan calculator built with Next.js that helps users calculate loan payments, interest rates, and amortization schedules. This tool provides accurate calculations for different types of loans including personal loans, mortgages, and auto loans.

Features

  • Calculate monthly loan payments
  • Generate detailed amortization schedules
  • Support for different loan types
  • Visual representations of payment breakdowns
  • Responsive design for all devices
  • Real-time calculations
  • Export functionality for payment schedules

Live Demo

View Live Demo

Tech Stack

  • Next.js 14
  • React
  • TypeScript
  • Tailwind CSS
  • Shadcn UI
  • React Hook Form
  • Recharts for visualizations

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (version 18.0 or higher)
  • npm or yarn package manager

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/loan-calculator.git
cd loan-calculator
  1. Install dependencies:
npm install
# or
yarn install
  1. Set up environment variables:
cp .env.example .env.local
  1. Run the development server:
npm run dev
# or
yarn dev
  1. Open your browser and navigate to:
http://localhost:3000

Usage

  1. Enter the loan amount
  2. Specify the loan term (in months)
  3. Input the interest rate
  4. Click "Calculate" to see your results
  5. View the amortization schedule and payment breakdown
  6. Export the results if needed

Contributing

  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.

Support

For support, please open an issue in the GitHub repository or contact us at support@example.com.

Acknowledgments

  • Thanks to all contributors who have helped make this tool better
  • Special thanks to the Next.js and React communities for their excellent documentation
  • Shadcn UI for the beautiful component library

Author

Your Name