This project was developed under the guidance of Andrii Latyshev
- Java 8
- Maven
- Swagger
- Jersey
- JUnit
- Docker
- Github Actions
Steps for building and running this app with Docker:
-
Pull Docker image:
docker pull nikitosique/banking-app:latest -
Run Docker container:
docker run -d -p 8080:8080 nikitosique/banking-app
-
Test with Postman.
-
For credit card validation execute
POSTrequest at urllocalhost:8080/cardnumber/validation.Request body example:
{"card-number": "4455555555555555"} -
For mortgage calculation execute
POSTrequest at urllocalhost:8080/mortgage/calculation.Request body example:
{"loan-amount": "100000","interest-rate": "6","term-years": "15"}