Commit Graph

7 Commits

Author SHA1 Message Date
omair saleh 97bfbdaf1e Add common domain and presentation layer
1. domain exception
2. create domain command
2022-09-25 14:40:42 +08:00
omair saleh 8ab5154130 1. authorization helper
2. change unit test to run on memory
2022-09-25 03:43:07 +08:00
omair saleh 2b2cff7b84 remove welcome.blade 2022-09-24 21:22:20 +08:00
omair saleh 286092f63f Deleted accidently uploaded editorconfig file and composer.lock 2022-09-24 20:56:33 +08:00
omair saleh e19d535edf Refactor laravel architecture.
Move App folder to infrastructure folder.

1. moved laravel app folder content to /src/Common/Infrastructure/Laravel

2. moved Console/Kernel.php to /src/Common/Infrastructure/Laravel/Kernel/Console.php

3. moved Http/Kernel.php to /src/Common/Infrastructure/Laravel/Kernel/Http.php

4. moved Http/Controllers/Controller.php to /src/Common/Infrastructure/Laravel/Controller.php

5. fix file paths in boorstrap/app.php

6. fix file paths for application service providers in config/app.php

7. fix file paths for middleware in config/sanctum.php

8. change app to src in composer.json
2022-09-24 20:53:57 +08:00
omair saleh b6c87fd42b Refactor laravel architecture.
Move App folder to infrastructure folder.

1. moved laravel app folder content to /src/Common/Infrastructure/Laravel

2. moved Console/Kernel.php to /src/Common/Infrastructure/Laravel/Kernel/Console.php

3. moved Http/Kernel.php to /src/Common/Infrastructure/Laravel/Kernel/Http.php

4. moved Http/Controllers/Controller.php to /src/Common/Infrastructure/Laravel/Controller.php

5. fix file paths in boorstrap/app.php

6. fix file paths for application service providers in config/app.php

7. fix file paths for middleware in config/sanctum.php

8. change app to src in composer.json
2022-09-24 20:53:31 +08:00
omair saleh 5e603de56f Initial commit 2022-09-24 03:08:32 +08:00