This repository has been archived by the owner on Jun 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Guereza 🐒 | ||
|
||
Guereza is a small example of distributed application design. It uses the following patterns: | ||
- DDD | ||
- AOP | ||
- EventBus | ||
- Event Sourcing | ||
- CQRS | ||
|
||
Moreover, the project implements the following features: | ||
- Netty Server and Client | ||
- Custom Injection Framework | ||
- Custom Event Sourcing Framework | ||
|
||
## Build | ||
|
||
Building and running is easy with `gradle`: | ||
|
||
``` | ||
$ gradle wrapper | ||
$ ./gradlew build | ||
$ java -jar build/libs/guereza-1.0-SNAPSHOT-all.jar | ||
``` | ||
|
||
## Usage | ||
|
||
There is 4 available modules: | ||
- server: aggregate and dispatch all events | ||
- store: store events and let reducers act on them | ||
- crawler and indexer: request URLs and index the content | ||
|
||
You need to start **one** `server` and `store`. Then, you can start as many other modules as you want. |