Skip to content

jerry80409/clean-architecture-delivery-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Clean Architecture Example

Description

The architecture of the project follows the principles of Clean Architecture. It is a simple food delivery app. One can list stores, cousines, products and create food orders. JWT it is used for authentication.

Running

./gradlew bootRun

Architecture

The project consists of 3 packages: core, data and presenter.

core package

This module contains the domain entities and use cases. This module contains the business rules that are essential for our application. In this module, gateways for the repositories are also being defined. There are no dependencies to frameworks and/or libraries and could be extracted to its own module.

data package

presenter package

Diagram

Here is a flow diagram of the payment of an order.

c4 component

About

A example of clean architecture in Java 8 and Spring Boot 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%