Author: Gabriel Santos Cardoso
Created: 14/03/2024
This project were, in a primary moment, a simple repository made with the purpose to learn more about the Repository Pattern in Laravel. Later on I refactored to use the Filament to accelerate and also learn more about this admin panel.
The motivation behind save this project is serve as a "snapshot" of my mind in case I need to review something about the topics covered in this application.
This application uses, in summary:
- Laravel (powered by Sail)
- FilamentPHP
- Docker and Docker Compose
- MySQL
- Any IDE or Text Editor
To contribute or just use this app you must follow the steps as below:
- Clone this repository using whatever manager you want
- Using Docker run the command
docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd):/var/www/html" -w /var/www/html laravelsail/php83-composer:latest composer install --ignore-platform-reqs
- After, you will have a fresh install of Laravel Sail application in your local
- Clone the
.env.example
as.env
and update the variables to your case - Up the containers using
./vendor/bin/sail up -d
- Generate a new application key using
./vendor/bin/sail artisan key:generate
- Run the migrations and seed database using
./vendor/bin/sail artisan migrate --seed
- Create a new Filament user to access the admin panel using
./vendor/bin/sail artisan make:filament-user
- Stop to read and start to develop 🤡
This project is licenced under the MIT Licence.