Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danieletorelli/loan-cashflows-api
Loan Cashflows API for API and IRR approximation
https://github.com/danieletorelli/loan-cashflows-api
Last synced: 9 days 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T16:45:42.000Z (9 months ago)
- Last Synced: 2024-03-30T17:43:35.853Z (9 months 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
[![build](https://img.shields.io/github/actions/workflow/status/danieletorelli/loan-cashflows-api/scala.yml?branch=master&style=for-the-badge)](https://github.com/danieletorelli/loan-cashflows-api/actions?query=workflow%3A%22Scala+CI%22+branch%3Amaster)
[![Scala Steward](https://img.shields.io/badge/Scala_Steward-helping-blue.svg?style=for-the-badge)](https://scala-steward.org)
[![release](https://img.shields.io/github/v/release/danieletorelli/loan-cashflows-api?style=for-the-badge)](https://github.com/danieletorelli/loan-cashflows-api/releases/latest)
[![license](https://img.shields.io/github/license/danieletorelli/loan-cashflows-api?style=for-the-badge)](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