bkobeszko/b2bcalculator
A B2B income calculator with Polish tax rules.
B2B calculator
Find out how much you will earn at your own business in Poland!
A B2B income calculator with Polish tax rules.
Built with Java, powered by Spring Boot, money calculation by Joda Money, presented as a single page, mobile-first app by Thymeleaf and Semantic UI, all running on top of a Jetty app server.
Tested by TestNG & AssertJ duo.
You can check this code, which is running on https://kalkulatorb2b.beskode.pl
Compilation
This is a classic Maven app. This is based on Spring Boot, so popular IDEs will open, compile and run it seamlessly.
However, the quicker way is to run one of these Maven commands:
Full build:
mvn clean packageAfter one full build you can build without frontend Semantic UI components:
mvn clean package -Dskip.npm -Dskip.gulpWithout unit tests:
mvn clean package -Dmaven.test.skip=trueWithout frontend and unit tests:
mvn clean package -Dskip.npm -Dskip.gulp -Dmaven.test.skip=trueDevelopment
Watch and build frontend file at runtime during frontend development and debugging (for Unix systems use /):
cd src\main\frontend
gulp semantic_ui_watchRunning
cd target
java -jar b2bcalculator-1.2.0.jarThen open in web browser:
http://localhost:5000Brought to you by BESKODE.
Author does not take any responsibility for using calculation results in tax settlements.