This is a simple Mortgage Calculator web application built with Node.js and Express. The application allows users to input principal amount, annual interest rate, and loan duration in years to calculate the monthly mortgage payment.
- Basic form input to capture mortgage details.
- Calculation of monthly mortgage payments.
- Docker containerization for easy deployment and scalability.
- Continuous Integration and Deployment using GitHub Actions.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
First, clone the repository to your local machine:
git clone https://github.com/yourusername/mortgage-calculator.git
cd mortgage-calculator
Then, install the dependencies:
npm install
To run the application locally:
npm start
The server will start, and you can access the application at http://localhost:3000.
To build the Docker image:
docker build -t mortgage-calculator .
To run the application using Docker:
docker run -p 3000:3000 mortgage-calculator
The application will be accessible at http://localhost:3000.
This application is set up with a basic CI/CD pipeline using GitHub Actions, which will automatically deploy the application upon any commits to the main branch.
Node.js - The JavaScript runtime used. Express - The web framework for Node.js. Docker - Containerization platform. GitHub Actions - CI/CD tool. Contributing Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
Your Name - Initial work - YourUsername
This project is licensed under the MIT License - see the LICENSE.md file for details.