项目作者: TanHongIT

项目描述 :
Create CRUD using Laravel Mix Vuejs
高级语言: PHP
项目地址: git://github.com/TanHongIT/crud-lara-vuejs-basic.git
创建时间: 2021-04-01T08:18:07Z
项目社区:https://github.com/TanHongIT/crud-lara-vuejs-basic

开源协议:

下载


Create CRUD using Laravel Mix Vuejs.

1. Technology

  • PHP
  • Laarvel Framework 5.8

2. Configuration requirements

3. Running

Clone repo

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

Composer & npm

Run:

  1. $ npm install
  2. $ composer install

Create APP_KEY

Run:

  1. $ 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

  1. DB_CONNECTION=mysql
  2. DB_HOST=127.0.0.1
  3. DB_PORT=3306
  4. DB_DATABASE=laravel
  5. DB_USERNAME=root
  6. DB_PASSWORD=

Migrate Database

Run:

  1. $ php artisan migrate

Run seeder

  1. $ php artisan db:seed --class=DatabaseSeeder

Launch project

Now, Launch your system…

Run the npm:

  1. $ npm run watch

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

  1. $ php artisan serve