Skip to content

tanhongit/crud-lara-vuejs-basic

Repository files navigation

Create CRUD using Laravel Mix Vuejs.

1. Technology

  • PHP
  • Laarvel Framework 5.8

2. Configuration requirements

3. Running

Clone repo

$ git clone https://github.com/TanHongIT/crud-lara-vuejs-basic $ cd crud-lara-vuejs-basic 

Composer & npm

Run:

$ npm install $ composer install 

Create APP_KEY

Run:

$ php artisan key:generate 

Create a new database in your host & edit .env

Create a new database in your server and edit the information in the .env file

DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel DB_USERNAME=root DB_PASSWORD= 

Migrate Database

Run:

$ php artisan migrate 

Run seeder

$ php artisan db:seed --class=DatabaseSeeder 

Launch project

Now, Launch your system...

Run the npm:

$ npm run watch 

Run the laravel project on port: http://localhost:8000

$ php artisan serve 

Releases

No releases published

Contributors 2

  •  
  •