This project provides a simple loan calculator where users can:
- Enter loan parameters (start/end date, principal, base interest, margin, etc.).
- Calculate daily interest figures.
- See results and store them in localStorage.
- View a history of previous calculations.
Follow these steps to set up and run the boilerplate locally:
- Node.js (v14+)
- npm or yarn
-
Clone the repository:
git clone https://github.com/roladev/loanCalculator.git cd loanCalculator
-
Install dependencies:
npm install # or yarn install
-
Run the development server:
npm start # or yarn start
-
Build for production:
npm run build # or yarn build
Visit the app at http://localhost:3000.
Create a .env file based on .env.example to configure environment variables.
npm run start