Crud developed in PHP/Laravel + Livewire + MySQL with the purpose of demonstrating the use of this stack.
This CRUD has the following features:
- CRUD Tasks
- CRUD Projects
- Reorder tasks/projects using drag and drop
- Project Select Filter
- Authentication
- Dashboard
The following stack was used:
- Laravel
- Livewire
- MySQL
- Docker
- GitHub Actions
- Clone/Download the repo:
git clone https://github.com/sidneyrmedeiros/laravel-livewire-crud.git
- Copy .env.dev file to .env:
cd laravel-livewire-crud && cp .env.dev .env
- To install composer dependencies
composer install
- To build docker-compose containers
./vendor/bin/sail up -d
- To run migrate and run seeder
./vendor/bin/sail artisan migrate --seed
- To install npm dependencies
./vendor/bin/sail npm install
- To build vite
./vendor/bin/sail npm run build
Once everything is installed, you are ready to go.
- To run
./vendor/bin/sail up -d
- To authenticate: http://0.0.0.0:8000/login
{
"email": "[email protected]",
"password": "12345678"
}
- To access the Tasks CRUD: http://0.0.0.0:8000/tasks
- To access the Projects CRUD: http://0.0.0.0:8000/projects
- To down the containers
./vendor/bin/sail down
- Run tests by
./vendor/bin/sail artisan test
The Laravel framework is open-sourced software licensed under the MIT license.