akadir / case-study

Java console application that implements given case study

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

case-study

Java implementation of shopping cart case study

Content

Run

Using Maven

Make sure you have maven installed on your system.

git clone https://github.com/akadir/case-study.git
cd case-study
mvn package -DskipTests
java -jar target/case-study.jar

Using Docker

Pull the latest image from docker-hub and then run it.

docker pull akarakoc/case-study:1.0
docker run akarakoc/case-study:1.0

UML class diagram

uml-diagram

Applied Design Patterns

Pipeline Definitions

All action logs can be seen from this link and action definitions are in this folder

  • Every push that contains change in specific folders and/or files triggers two actions, build, and code quality.

    • Build Action builds source code on 3 different Operating Systems[Ubuntu, MacOS, Windows] using 3 different java versions[8, 11, 14].
  • Every tagged push event triggers the docker workflow and this workflow builds artifacts then push the docker image to the docker hub

Developed with the Help of

  • IntelliJ IDEA - Development environment
  • maven - Build automation and dependency management tool.
  • logback - Logging library that implements SLF4J API
  • mockito - Testing framework to mock objects.
  • AssertJ - Rich and easy to use test assertion library
  • Docker - Containerisation tool
  • SonarCloud - Online Code Quality & Security service
  • GitHub Actions - Software workflow automation tool
  • gitignore.io - Utility website to generate .gitignore files

About

Java console application that implements given case study


Languages

Language:Java 99.7%Language:Dockerfile 0.3%