An open API service indexing awesome lists of open source software.

https://github.com/ajikamaludin/laravel-template

laravel starter kit with inertiajs-react, setup daisyui style admin template with RBAC for general purpose
https://github.com/ajikamaludin/laravel-template

daisyui inertiajs laravel react tailwindcss

Last synced: 3 months ago
JSON representation

laravel starter kit with inertiajs-react, setup daisyui style admin template with RBAC for general purpose

Awesome Lists containing this project

README

          

# Laravel Template - DaisyUI

This is a laravel starterkit with inertia, react, user role based access crud with admin template that you can use daisyui style or xxx style.

## Support me

Trakteer Saya

## Requirements

- PHP 8.3 or latest
- Node 20+ or latest

## 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
```

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
```


easy way

```bash
docker compose up -d
```

## Default User

```bash
username : admin@admin.com
password : password
```

## Deploy ( go to production )

### method 1 - compile assets

```bash
npm run build
```

after build the assets you can manually compress you application to deploy on web hosting / vps

### method 2 - compress asset to ready upload

```bash
php artisan build
```

this command will generate `app_name.zip` in your root folder and its file ready with build assets and optimize files

## The UI

![](screenshot_v3.gif?raw=true)


## Features

### 1. Scaffold generator

it can generate 3 type of crud : form modal, form page, and single form, run command below to test

```bash
php artisan scaffold
```

![](screenshot_generator.gif?raw=true)