Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Admin Panel Laravel 10 react typescript

Admin template build with react typescript & Laravel 10.0

Require

  • PHP 8.*+
  • Composer
  • MySQL 5.5+
  • Redis
  • Laravel

PHP extension

  • redis
  • file info

Install

  • install package composer
composer install
  • install package npm
npm install
  • install panel
php artisan install

URL rewrite nginx

location /public {
}

location / {
    try_files $uri $uri/ /index.php$is_args$query_string;
}

location ~ .*\.(js|css)?$
{
    expires      1h;
    error_log off;
    access_log /dev/null;
}

URL rewrite Apache

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^ ^$1 [N]

    RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
    RewriteRule ^(.*)$ public/$1

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ server.php

</IfModule>

build and test

  • open terminal and type

test

php artisan server
npm run watch

build

npm run prod

Cron job

php /**path_to_dir_web**/artisan queue:work
php /**path_to_dir_web**/artisan schedule:run

About

AdminPanel use React and Laravel

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages