laravel-ajax-crud
laravel-ajax-crud copied to clipboard
🧐 The Ultimate Guide For Creating Laravel CRUD AJAX Application using Laravel 5.8, Vue 2, Tailwindcss, Vue-router, and Axios
Laravel AJAX CRUD Application
This is a simple example of using Laravel 5.8 and Vue 2 for creating CRUD applications with AJAX functionality.
How To Build This Project From Zero
The Ultimate Guide For Creating Laravel CRUD AJAX Application using Laravel 5.8, Vue 2, Tailwindcss, Vue-router, and Axios
Demo
https://laravel-ajax-crud.herokuapp.com
Installation
- Clone the repository:
git clone https://github.com/the94air/laravel-ajax-crud
cd laravel-ajax-crud
- Copy
.env
file:
cp .env.example .env
- Connect to database:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
- Install all the dependencies:
composer update
- Run:
php artisan key:generate
- migrate and seed the database:
php artisan migrate --seed
-
Done!
-
Optional: Install npm dependencies to modify
sass
andvue
files:
npm install
npm run dev