Skip to content

just another laravel starter-kit with inertiajs, reactjs, laravel, shadcn UI and just JSX, with my additional ui ready to use component and setuped RBAC

Notifications You must be signed in to change notification settings

19ajikamaludin/laravel-shadcn-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Shadcn UI

just another laravel starter-kit with inertiajs, reactjs, laravel, shadcn UI and just JSX, with my additional ui ready to use component and setuped RBAC

Support me

Trakteer Saya

Requirements

  • PHP 8.3 or latest
  • Node 20+ or latest

How to run

prepare env

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

php artisan migrate --seed # create table for db and seed data
php artisan key:gen
php artisan ziggy:generate # generate route file for frontend
php artisan ser #keep run to dev

compile asset

npm run dev # compiling asset for development # keep run for dev

easy way

docker compose up -d

Default User

username : admin@admin.com
password : password

Deploy ( go to production )

  1. setup env .env APP_URL with valid url prod, APP_ENV to production

method 1 - compile assets

php artisan ziggy:generate

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

php artisan ziggy:generate

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


Features

1. Scaffold generator

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

php artisan scaffold

Shadcn UI components

npx shadcn@latest add accordion breadcrumb chart dialog label scroll-area sidebar textarea alert button checkbox dropdown-menu navigation-menu select skeleton toggle-group avatar calendar collapsible form pagination separator table toggle badge card context-menu input popover sheet tabs tooltip

About

just another laravel starter-kit with inertiajs, reactjs, laravel, shadcn UI and just JSX, with my additional ui ready to use component and setuped RBAC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published