{"repo":"avosalmon/modular-monolith-laravel","free":true,"listed":false,"github":"https://github.com/avosalmon/modular-monolith-laravel","clone":"git clone https://github.com/avosalmon/modular-monolith-laravel.git","description":"Sample application for Laracon Online 2022.","language":"PHP","stars":202,"topics":["modular-monolith","laravel","laracon"],"license":null,"category":"ecommerce","readme_excerpt":"Modular Monolith Laravel The sample e-commerce application for Laracon Online Winter 2022. - Laracon Video - Slides System requirements Docker is installed on your machine. Setup local environment Copy example env file Start docker compose Install composer dependencies Generate app key and places inside the .env file Run DB migration Now you can access the app via http://localhost. To stop Docker containers Laravel Sail command (optional) This repository uses Laravel Sail for the local docker environment. You can use the sail command by configuring a bash alias below. The sail command is an shortcut for docker compose exec app php which runs a given command within the docker container. The docker compose commands in the previous section can be shortened like this. Testing This repository uses Pest for writing tests. Pest is a testing framework with a simpler syntax like Jest and better reporting. Since it's powered by PHPUnit, it supports all the PHPUnit syntaxes as well. Running tests Filtering tests Display code coverage Static code analysis to enforce domain boundaries Deptrac is a static code analysis tool for PHP that helps you define architectual layers over classes and rules on which layer can access which layer. You can run deptrac with the command below. You can also visualize the dependency graph by exporting the analysis result as an image.","default_branch":null,"files":null,"tree":[],"storefront":"/r/avosalmon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/avosalmon/modular-monolith-laravel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}