GithubHelp home page GithubHelp logo

bkobeszko / b2bcalculator Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 2.0 128 KB

A B2B income calculator with Polish tax rules.

License: GNU Affero General Public License v3.0

JavaScript 6.65% Java 76.86% HTML 16.50%
b2b calculator single-page-app java java-8 javascript joda-money semantic-ui thymeleaf thymeleaf-template-engine spring-boot testng assertj

b2bcalculator's Introduction

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 package

After one full build you can build without frontend Semantic UI components:

mvn clean package -Dskip.npm -Dskip.gulp

Without unit tests:

mvn clean package -Dmaven.test.skip=true

Without frontend and unit tests:

mvn clean package -Dskip.npm -Dskip.gulp -Dmaven.test.skip=true

Development

Watch and build frontend file at runtime during frontend development and debugging (for Unix systems use /):

cd src\main\frontend
gulp semantic_ui_watch

Running

cd target
java -jar b2bcalculator-1.2.0.jar

Then open in web browser:

http://localhost:5000

Brought to you by BESKODE. Author does not take any responsibility for using calculation results in tax settlements.

b2bcalculator's People

Contributors

bkobeszko avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.