Skip to content

Czompi/ch-app

Repository files navigation

ch-app

This application is an ordering system and saves orders & products in separate json files. After you specified what you'd order, the application will show you how much will it cost.

To run this application, the minimum Java version is 17.

The following packages are used:

  • Gson
  • Log4j
  • Lombok

Build application

To build this application, you can simply run the following command. You'll find the generated jar file at <project_dir>/build/libs folder.

Linux/macOS

gradle assemble

Windows

Powershell

.\gradlew assemble

Command Prompt

gradlew assemble

Run application

No arguments

You can run the application without any arguments

java -jar ch-app-<version>.jar

Json arguments

This application handles all the arguments as part of a json string, and it'll try to convert it to a String list. It will return the total cost of the items ordered in the arguments

Example

java -jar ch-app-<version>.jar ["A", "B", "C"]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages