From 4bad3f416aab2afc3a87622b19bf2713380b5fb3 Mon Sep 17 00:00:00 2001 From: Krzysztof Rewak Date: Wed, 26 Jan 2022 09:28:04 +0100 Subject: [PATCH] - readme.md update --- readme.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 3d99076..0141c80 100644 --- a/readme.md +++ b/readme.md @@ -4,6 +4,13 @@ > HR software you love to hate +## Architecture +Directory structure little differs from a standard Laravel tree. We decided to refactor main `app` directory to better suite our needs. All classes are grouped in for major categories: +* `app/Architecture` for all framework-related stuff like service providers, excpetion handler and more; +* `app/Domain` for all framework-agnostic services related to business logic of the application; +* `app/Eloquent` for all database/ORM-related classes like models, observers and scopes; +* `app/Infrastructure` for entrypoints to the application: CLI, HTTP and async ones. + ## Local setup - run `sh setup` or: @@ -96,4 +103,4 @@ Docker container: ``` docker-compose run --rm -e XDEBUG_MODE=off php php artisan test -``` \ No newline at end of file +```