Server-side pagination, filter, live search, sort, and limit data to be displayed on each page.
Source Code : GitHub
- Server-side pagination
- Live search
- Sort
- Limit
- Filter
Clone the repository
git clone https://github.com/raprmdn/laravel-inertia-datatable.git
cd into the project directory
cd laravel-inertia-datatable
Install dependencies
# Laravel
composer install
# InertiaJS and ReactJS
npm install
copy .env.example
to .env
and set your database configuration
cp .env.example .env
Generate an application key
php artisan key:generate
Run the database migrations
php artisan migrate
Seed the database
php artisan db:seed
Start the local development server
# Laravel
php artisan serve
# InertiaJS and ReactJS
npm run dev