Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anthonygore/vue-laravel-crud
Full-stack Vue + Laravel + Axios CRUD example
https://github.com/anthonygore/vue-laravel-crud
Last synced: 6 days ago
JSON representation
Full-stack Vue + Laravel + Axios CRUD example
- Host: GitHub
- URL: https://github.com/anthonygore/vue-laravel-crud
- Owner: anthonygore
- Created: 2018-02-02T09:20:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T13:55:34.000Z (about 2 years ago)
- Last Synced: 2024-12-28T22:14:20.857Z (13 days ago)
- Language: PHP
- Size: 2.26 MB
- Stars: 377
- Watchers: 17
- Forks: 176
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-laravel-crud
Vue 2.6 + Laravel 6 + Axios CRUD example app
> See https://vuejsdevelopers.com/2018/02/05/vue-laravel-crud/
> Inspiration from [https://github.com/herusdianto/laravel-vue-crud](https://github.com/herusdianto/laravel-vue-crud)### Installation
1. Clone repo
2. Change to directory
````
cd vue-laravel-crud
````3. Install dependencies
````
composer install
````4. Copy .env file
```
cp .env.example .env
```5. Modify `DB_*` value in `.env` with your database config.
6. Generate application key:
````
php artisan key:generate
````7. Migrate
````
php artisan migrate
````8. Install Node modules
````
npm install
````9. Build
````
npm run prod
````### Dummy Data
1. Open Tinker
````
php artisan tinker
````
2. Use factory script
````
factory(App\Crud::class, 3)->create();
````