Giter VIP home page Giter VIP logo

poc_cleanarch_spring_multimodule's Introduction

Clean Architecture + SpringBoot + MultiModule

SpringBoot project structured with Clean Architecture enforced by Maven MultiModule with whipped cream (Automated Tests) and a cherry added on top (Code Quality Analysis).

License: MIT

Sonar

Quality gate
Sonar Analysis

Security Rating Maintainability Rating Reliability Rating
Vulnerabilities Bugs Code Smells Technical Debt
Lines of Code Coverage Duplicated Lines (%)

Proof of Concept:

Simple application (domain complexity) with hard architectural boundaries enforced by maven multimodule following Clean Architectural guidelines using Spring to make DI easy. In this CA, Spring framework is decoupled and required only in the external layers (api and datasources).

  • Spring (easy DI setup (Spring IoC))
  • SpringBoot (Quick Spring project setup)
  • Maven MultiModule (Enforced Architectural Boundaries)
  • Clean Architecture

Extras 1: This project features automated tests to demonstrate a way to do so in a clean architecture style with enforced boundaries. Since this is not a real-world application, the test suit doesn't go further than integration and unit tests.

  • JUnit, Mockito and AssertJ
  • Flyway
  • H2 and Postgres
  • Test Containers

Extras 2: This project also features automated code quality analysis by using:

  • SonarQube
  • GitHub Actions

Extras 3: RESTful API with Docs.

  • RESTful API (HATEOAS)
  • Documentation (Spring RestDocs + AsciiDoc + Pandoc & GitHub Actions)

Extras 4: Domain-Driven Design. Just a little bit to model this small project domain, even tho DDD is not recommended for small projects. This project stays just at the tip of the DDD iceberg. Check out the Project Domain.

  • Domain PoC Planning

Documents

Project Progress

  • Customer
    • Domain
      • Entities
      • UseCases
    • Adapters
      • Controllers
    • External
      • Datasources
      • Apis
  • Product
  • Order

poc_cleanarch_spring_multimodule's People

Contributors

brunotacca avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.