Skip to content

Files

Latest commit

author
Allan Peres
Nov 11, 2019
d157327 · Nov 11, 2019

History

History
47 lines (33 loc) · 1.3 KB

File metadata and controls

47 lines (33 loc) · 1.3 KB

DB1 Group - Java (Spring) Boilerplate

This is an open source MIT project that has been made to facilitate the development of spring applications.

Project Stack:

Architecture explanation

Layered Architecture

Is used the 3 layer architecture where there is openned and closed layers, beeing:

  • Presentation Layer: resource package
  • Business Layer: service, entity, domain package
  • Data Layer: repository package
  • Cross Cutting: any utility package, example: adapter

This project utilizes ArchUnit to integrity of the architecture. (default-api/test/java/br.com.project/ArchTest.java)

Project setup

This version of the boilerplate needs the maven to run, and need to have one jdk that is compatible (preferably openjdk13)

Compile

mvn install

Run only tests

mvn tests

Start project

cd default-api
mvn spring-boot:run