Skip to content

This is backend mortgage API built by Fastapi to calculate the monthly repayment and total repayment.

Notifications You must be signed in to change notification settings

statsit/mortgage-app

Repository files navigation

Mortgage App

The app calculates the amount of the monthly payment for a mortgage loan. The user can specify the amount of the loan, the interest rate, the number of years, and the date of the first payment. The app will then calculate the amount of the monthly payment.

Installation

Install the environment

  pip install poetry

Run Locally

Clone the project

  git clone https://github.com/statsit/mortgage-app.git

Go to the project directory

  cd mortgage-app

Docker Compose Build

  make docker_build

Usage/Examples

Get list all payments made to the mortgage

```javascript
  async function getMortgage() {
    try {
      const response = await axios.get('http://localhost:8000/mortgages/');
      console.log(response);
    } catch (error) {
      console.error(error);
    }
  }
  curl -X GET \
  "http://localhost:8000/mortgages/" 
  -H  "accept: application/json"

API Reference

api

Roadmap

  • Additional browser support

  • Add more integrations

Hi, I'm Ade! 👋

🚀 About Me

I'm a full stack AI developer...

Authors

🔗 Links

portfolio linkedin twitter

License

MIT License

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Acknowledgements

About

This is backend mortgage API built by Fastapi to calculate the monthly repayment and total repayment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published