https://github.com/danieletorelli/loan-cashflows-api
Loan Cashflows API for API and IRR approximation
https://github.com/danieletorelli/loan-cashflows-api
Last synced: 2 months ago
JSON representation
Loan Cashflows API for API and IRR approximation
- Host: GitHub
- URL: https://github.com/danieletorelli/loan-cashflows-api
- Owner: danieletorelli
- License: mit
- Created: 2020-11-11T20:20:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T16:45:42.000Z (over 1 year ago)
- Last Synced: 2024-03-30T17:43:35.853Z (over 1 year ago)
- Language: Scala
- Homepage:
- Size: 242 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://github.com/danieletorelli/loan-cashflows-api/actions?query=workflow%3A%22Scala+CI%22+branch%3Amaster)
[](https://scala-steward.org)
[](https://github.com/danieletorelli/loan-cashflows-api/releases/latest)
[](https://github.com/danieletorelli/loan-cashflows-api/blob/master/LICENSE.md)Challenge
=================Refer to [CHALLENGE.md](CHALLENGE.md) for the challenge description.
Run
---The main class is: `it.mdtorelli.cashflows.Main`.
```sh
sbt run
```On run, the server will bind at: `http://0.0.0.0:8080`.
Docker
------```sh
sbt docker:publishLocaldocker run -p 8080:8080 --rm loan-cashflows-api
```Endpoints
---------- `GET /`: Welcome page
- `POST /cashflows`: Cashflow ingestion