Skip to content

db1group/default-architecture-java-spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages