update readme for how it works
This commit is contained in:
parent
5719b54e0d
commit
288f2d4c14
11
README.md
11
README.md
@ -10,6 +10,17 @@ For more information on how to this works with other frontends/backends, head ov
|
||||
|
||||
The application uses Spring boot (Web, Mybatis).
|
||||
|
||||
* Use the idea of Domain Driven Design to separate the business term and infrastruture term.
|
||||
* Use MyBatis to implement the [Data Mapper](https://martinfowler.com/eaaCatalog/dataMapper.html) pattern for persistence.
|
||||
* Use [CQRS](https://martinfowler.com/bliki/CQRS.html) pattern to separate the read model and write model.
|
||||
|
||||
And the code organize as this:
|
||||
|
||||
1. `api` is the web layer to implement by Spring MVC
|
||||
2. `core` is the business model including entities and services
|
||||
3. `application` is the high level services for query with the data transfer objects
|
||||
4. `infrastructure` contains all the implementation classes as the technique details
|
||||
|
||||
# Security
|
||||
|
||||
Integration with Spring Security and add other filter for jwt token process.
|
||||
|
Loading…
Reference in New Issue
Block a user