|
|
|
@ -12,12 +12,23 @@ This just a laravel template with breeze react, user role based access crud with
|
|
|
|
|
|
|
|
|
|
## How to run
|
|
|
|
|
|
|
|
|
|
prepare env
|
|
|
|
|
```bash
|
|
|
|
|
cp .env.example .env # configure app for laravel
|
|
|
|
|
touch database/database.sqlite # if you use .env.example with default sqlite database
|
|
|
|
|
composer install
|
|
|
|
|
npm install
|
|
|
|
|
npm run dev # compiling asset for development
|
|
|
|
|
```
|
|
|
|
|
use php server
|
|
|
|
|
```bash
|
|
|
|
|
php artisan migrate --seed # create table for db and seed data
|
|
|
|
|
php artisan key:gen
|
|
|
|
|
php artisan ser #keep run to dev
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
compile asset
|
|
|
|
|
```bash
|
|
|
|
|
npm run dev # compiling asset for development # keep run for dev
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Default User
|
|
|
|
|