Skip to content

alonyb/ioet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACME

Build Status Latest Release

About

This project is in Java using maven as software project management that calculates salary of employees, using hexagonal architecture, Mockito to unittests, Docker as container system and Dockerhub as image repository, GitHub as code/artifact repository and GitHub actions to CI, finally sonar cloud as code analyzer.

Architecture

This proyect was based on hexagonal architecture.

hexagonal

If you want to see more examples check:

  • Golang - Project based on hexagonal arch and using Golang.
  • Docs - Good reference docs about this arch.

Dockerhub

This proyect use the amazing Dockerhub to manage docker images. You can check it here

dockerhub

GitHub

  • Actions

    • Project uses actions to CI, such is composed by four steps(can check it here):
      • Unittests
      • Package project
      • Sonar analyzer
      • Deploy to Dockerhub
  • Artifact

    • You can check artifact here

Run

This is my favorite part, to run it, you should to have docker on your machine, if you don't well.. kill your self! :)

docker pull rubendario/ioet:latest
docker run <id-image>

Example

Screen Shot 2020-10-30 at 09 17 35

Cloning project to run locally

The following will give you a project that is set up and ready to use.

git clone https://github.com/alonyb/ioet.git
cd ioet

Download maven dependencies

mvn clean install

Run unittests

mvn tests

Run project

mvn exec:java -Dexec.mainClass="com.ioet.acme.AcmeApplication"

About

ioet Exercise

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors