Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanhongit/crud-lara-vuejs-basic
Create CRUD using Laravel Mix Vuejs
https://github.com/tanhongit/crud-lara-vuejs-basic
laravel laravel-mix laravel-mix-vue laravel-vue tanhongit-vue vue vue-cli vuejs
Last synced: 22 days ago
JSON representation
Create CRUD using Laravel Mix Vuejs
- Host: GitHub
- URL: https://github.com/tanhongit/crud-lara-vuejs-basic
- Owner: tanhongit
- Created: 2021-04-01T08:18:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T00:22:29.000Z (over 1 year ago)
- Last Synced: 2024-10-21T06:50:02.478Z (23 days ago)
- Topics: laravel, laravel-mix, laravel-mix-vue, laravel-vue, tanhongit-vue, vue, vue-cli, vuejs
- Language: PHP
- Homepage: https://crud-lara-vuejs-basic.herokuapp.com/
- Size: 1.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Create CRUD using Laravel Mix Vuejs.
# 1. Technology
- PHP
- Laarvel Framework 5.8# 2. Configuration requirements
- Install composer: https://getcomposer.org/# 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
```laravel
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
```