In this application, I build a Kanban-like Board using PHP Laravel, InertiaJS, Vue.Draggable, and Taliwind css.
The goal is not the board by itself, but rather to demonstrate how to batch update reordering multiple columns with multiple cards, all at once.
There are several ways to achieve this goal, however, I've chosen a built option, which using the Eloquent upsert() method.
I use Laravel Sail over Docker to build and develop this application. However, you could easily run this application locally without having Laravel Sail.
Follow the steps below to install and run the application locally.
- Clone this project
- Go to the folder application using
cd
command on yourcmd
or terminal - Run composer install
- Copy .env.example file to .env on the root folder.
- Open your .env file and change the database name (DB_DATABASE) to whatever you have, username (DB_USERNAME) and password (DB_PASSWORD) field correspond to your configuration.
- Run php artisan key:generate
- Run php artisan migrate
- Run php artisan db:seed
- Run npm install to install all JavaScript dependencies
- Run npm run dev to start the application
- Visit the application in the browser
This package is licensed under the MIT License.