Skip to content
项目

eliostvs/clean-architecture-delivery-example

在 GitHub 查看

关于

一个使用 Java 8 和 Spring Boot 2.0 实现整洁架构的示例。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…