Application calculates a monthly net profit from contract in a selected country. The tax rate and fixed cost for available countries are stored in an inmemory database h2.
The Project is created in spring-boot (backend) and angular (ui) framework. It is my first angular project.
Application uses the external api NBP API to read current exchange rate for currency.
- Java 8
- Apache Maven 3.3.3 to compile a project
- angular/cli: 1.4.7
- node: 6.11.4
To run backend application it is required to do:
In kalkulator-sonalake-backend-api directory execute:
First build backend project in maven:
mvn clean installTo run backend application:
mvn spring-boot:runBackend application API application is running now.
To run frontend application it is required to do:
In kalkulator-sonalake-ui directory execute:
ng serveFrontend application is running now.
Run http://localhost:4200/ on your browser.
Select country and enter an appropriate net daily rate in selected country currency. On response application will calculate monthly net profit in selected country in PLN currency.