LaravelViteReactAdmin dashboard

laravel-react-vite-stisla — Laravel Admin dashboard Template

By fhmiibrhimdev

A decoupled backend template built with Laravel and React (Vite), integrating the Stisla admin interface and providing examples for JWT multi-role authentication, CRUD, search, and pagination.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

1 previews
Author preview
Author-provided preview

Preview provided in the project README.

One original preview is available. Open the full image to inspect the design.

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

Laravel backend provides a RESTful API with JWT for stateless authentication

02

Role-based access control (RBAC) implemented via Laratrust

03

Frontend uses React and Vite, integrating the Stisla admin template and TailwindCSS

04

Built-in product CRUD example with form validation, search, pagination, and detail views

05

Includes authentication-related pages such as login, registration, logout, profile updates, and password changes

06

Provides custom 403 and 404 error pages and a gallery image management module

Template Details

This is a decoupled admin template with the repository organized into backend and frontend directories. The backend is a Laravel RESTful API that uses JWT for stateless authentication and Laratrust for role-based access control. The frontend is built with React and Vite, using the Stisla admin template, TailwindCSS, and React Router to organize pages, with SweetAlert2 handling interactive prompts.

Built-in modules include login, registration, logout, user profile updates and password changes, a complete product CRUD example (with validation), gallery image management, and custom 403 and 404 error pages. Data interactions cover search, pagination, and detail views.

Before use, note that the project depends on PHP, Composer, Node.js, NPM, and MySQL or MariaDB. The backend and frontend must be started separately, running by default on 127.0.0.1:8000 and localhost:5173. The default accounts provided in the README ([email protected] / [email protected], both with password password) are generated by seeders and are for local demonstration only. The code is MIT licensed, but third-party assets such as demo images, fonts, and icons require separate license verification.

LaravelViteReactAdmin backend

Is it right for your project?

Use Cases

  • Starting a backend project that requires a decoupled Laravel API and React frontend architecture
  • Setting up JWT multi-role login and permission control for an admin backend
  • Referencing the product CRUD implementation for search, pagination, and form validation
  • Developing data management interfaces based on the Stisla admin template

Suitable For

  • Full-stack developers familiar with Laravel and React
  • Teams needing an admin template as a project starting point
  • Learners looking to reference JWT and RBAC integration approaches

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    The environment requires PHP 8.1 or higher, Composer, Node.js and NPM, and MySQL or MariaDB

  2. 2

    In the backend directory, run composer install, copy .env.example, and configure the database connection

  3. 3

    Run php artisan key:generate, jwt:secret, migrate:fresh --seed, and storage:link in sequence, then start php artisan serve

  4. 4

    In the frontend directory, run npm install and npm run dev

  5. 5

    Default accounts are generated by seeders ([email protected] and [email protected], both with password password) and are for local demonstration only

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version available in a public repository under the MIT license; the free scope applies to that version's code and does not imply that external services or third-party assets are free.

Must comply with when using

  • The code of this version may be used, modified, used commercially, and distributed free of charge.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Before use, PHP 8.1 or higher, Composer, Node.js and NPM, and a MySQL or MariaDB database must be installed locally, otherwise it cannot run.
  • You must configure the database connection details yourself (DB_CONNECTION, DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD); the project depends on an external MySQL/MariaDB service.
  • You need to run the command to generate the JWT secret; authentication depends on this secret, and login will not work properly without it.
  • The default accounts ([email protected] and [email protected], both with password password) are generated by seeders and are for local demonstration only; they should be changed before production use.
  • Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses; they cannot be assumed to be covered solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

Ensure you have the following installed on your local machine:

Original README

Configure your database credentials in the `.env` file:

Original README

php artisan jwt:secret

Original README

After running the seeder (`php artisan migrate:fresh --seed`), the following default users are created:

Original README
https://github.com/fhmiibrhimdev/laravel-react-vite-stisla/blob/main/LICENSEhttps://github.com/fhmiibrhimdev/laravel-react-vite-stisla/blob/main/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
More documented · 92 / 100
Technologies
Laravel · Vite · React
Website type
Admin dashboard
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2026-03-02
Screenshot last checked
2026-10-02

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Laravel as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: 1514130b5fe57618cb2ce427375e2048e1fc3eebc0336c48fd519845d9df33fb

2026-10-02T09:58:03.224Z

Source file / repository
<img width="100%" alt="LaraReact Stisla Banner" src="https://user-images.githubusercontent.com/129714988/230786429-ae7d00b6-3375-452d-bc00-adbf780ad5f5.png">

# Laravel React Vite Stisla Dashboard

This project is a robust Single Page Application (SPA) starter kit that combines the power of **Laravel 10** for the backend API and **React 18 (Vite)** for a dynamic frontend. It utilizes the **Stisla Admin Template** to provide a beautiful, responsive, and user-friendly interface out of the box.

Designed for developers who want a modern, fast, and scalable foundation for their web applications, featuring secure authentication, role-based access control, and CRUD scaffolding.

## 📂 Folder Structure

The project is monorepo-style, separated into two distinct directories:

- **`backend/`**: Laravel 10 API (Service Layer, Auth, Database).
- **`frontend/`**: React + Vite + TailwindCSS (UI Layer services).

## ✨ Key Features

- **Backend**:

  - Laravel 10 RESTful API architecture.
  - **JWT Authentication** (`tymon/jwt-auth`) for secure stateless communication.
  - **Role-Based Access Control (RBAC)** using `santigarcor/laratrust`.
  - Comprehensive API Resources and Controllers.
  - Exception handling and standardized API responses.

- **Frontend**:

  - **React 18** powered by **Vite** for lightning-fast HMR and builds.
  - **Stisla Admin Template** integration (Responsive & Modern).
  - **TailwindCSS** for utility-first styling.
  - **React Router v6** for seamless client-side routing.
  - **SweetAlert2** for beautiful interactive alerts.
  - Form Handling & Validation.
  - Dynamic **Sidebar** & **Table** components.

- **Modules Included**:
  - **Authentication**: Login, Register, Logout.
  - **User Management**: Profile update, Password change.
  - **Products**: Complete CRUD example with proper validation.
  - **Gallery**: Image management module.
  - **Error Pages**: Custom 403 (Forbidden) and 404 (Not Found) pages.

## 🛠 Prerequisites

Ensure you have the following installed on your local machine:

1. **PHP** >= 8.1
2. **Composer**
3. **Node.js** (LTS version recommended) & **NPM**
4. **MySQL** or **MariaDB**

## 🚀 Installation Guide

Follow these steps to get the project running locally.

### 1. Clone the Repository

```bash
git clone https://github.com/fhmiibrhimdev/laravel-react-vite-stisla.git
cd laravel-react-vite-stisla
```

### 2. Backend Setup (Laravel)

```bash
cd backend
composer install
cp .env.example .env
```

Configure your database credentials in the `.env` file:

```env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=root
DB_PASSWORD=
```

Generate keys and migrate content:

```bash
php artisan key:generate
php artisan jwt:secret
php artisan migrate:fresh --seed
php artisan storage:link
php artisan serve
```

> **Note:** The backend server will run at `http://127.0.0.1:8000`.

### 3. Frontend Setup (React)

Open a terminal in the `frontend` directory:

```bash
cd ../frontend
npm install
npm run dev
```

> **Note:** The frontend application will be accessible at `http://localhost:5173`.

## 🔐 Default Credentials

After running the seeder (`php artisan migrate:fresh --seed`), the following default users are created:

| Role | Email | Password |
|Col1|Col2|Col3|
|---|---|---|
| **Admin** | `[email protected]` | `password` |
| **User** | `[email protected]` | `password` |

## 📄 License

This project is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.

coreui-free-laravel-admin-template

coreui-free-laravel-admin-template

A free MIT-licensed Laravel admin template using CoreUI Bootstrap styles, with a sample login account and management examples for users, menus, roles, media, BREAD, and email templates.

Laravel · Admin dashboard

sneat-bootstrap-html-laravel-admin-template-free

sneat-bootstrap-html-laravel-admin-template-free

Sneat Free is a Laravel admin template with a Bootstrap 5 frontend, MIT-licensed, offering a dashboard, multiple layouts, authentication pages, forms, and tables.

Laravel · Admin dashboard

laqul

laqul

Laqul is an MIT-licensed Laravel + GraphQL + Quasar full-stack starter kit for backend/admin projects. It separates a Laravel GraphQL API, a Quasar dashboard client buildable as SPA, PWA, desktop, or mobile app, and a client-backend PHP relay for OAUTH2 credentials.

Laravel · Admin dashboard

laravel9-inertiajs-reactjs-starter

laravel9-inertiajs-reactjs-starter

A Laravel 9 + Inertia.js + React admin starter with Guest, Base, and Auth layouts, login, registration, Google login, user management, and profile pages, styled with Bootstrap 5 and Argon Dashboard 2. Activity Log and Roles and Permissions are not yet implemented.

Laravel · Admin dashboard

TailAdmin-Laravel-Starter-Kit

TailAdmin-Laravel-Starter-Kit

A Laravel admin starter maintained by LaravelDaily that merges LaravelDaily/starter-kit with TailAdmin Laravel free dashboard components.

Laravel · Admin dashboard

laravel-sentinel-crud-starter

laravel-sentinel-crud-starter

A Laravel admin starter project that combines Cartalyst Sentinel authentication with user, role, and permission management, plus an Artisan command-driven CRUD generator. It includes user, role, permission assignment, and dashboard pages, a Datatables Bundle, and optional Gentelella Dashboard styling.

Laravel · Admin dashboard