/laravel-ajax-crud

🧐 The Ultimate Guide For Creating Laravel CRUD AJAX Application using Laravel 5.8, Vue 2, Tailwindcss, Vue-router, and Axios

Primary LanguagePHPMIT LicenseMIT

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

  1. Clone the repository:
git clone https://github.com/the94air/laravel-ajax-crud
cd laravel-ajax-crud
  1. Copy .env file:
cp .env.example .env
  1. Connect to database:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
  1. Install all the dependencies:
composer update
  1. migrate the database:
php artisan migrate
  1. Done!

  2. Optional: Install npm dependencies to modify sass and vue files:

npm install
npm run dev