- directory refactor (#32)

* - directory refactor

* - readme.md update

* Update readme.md

Co-authored-by: Adrian Hopek <adrian.hopek@blumilk.pl>

* Update readme.md

Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>

* Update readme.md

Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>

* Update readme.md

Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>

* Update readme.md

Co-authored-by: Adrian Hopek <adrian.hopek@blumilk.pl>
Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>
This commit is contained in:
Krzysztof Rewak
2022-01-26 12:31:26 +01:00
committed by GitHub
parent 026bfe485f
commit f6d59f8bfb
73 changed files with 214 additions and 217 deletions

View File

@@ -4,7 +4,15 @@
> 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 suit our needs. All classes are grouped in four major categories:
* `app/Architecture` for all framework-related stuff like service providers, exception handler and more;
* `app/Domain` for all framework-agnostic services related to the business logic of the application;
* `app/Eloquent` for all database/ORM-related classes like models, observers and scopes;
* `app/Infrastructure` for entry points to the application: CLI, HTTP and async ones.
## Local setup
- run `sh setup` or:
> `dcr` is an alias to `docker-compose run --rm -u "$(id -u):$(id -g)"`
@@ -95,4 +103,4 @@ Docker container:
```
docker-compose run --rm -e XDEBUG_MODE=off php php artisan test
```
```