Skip to content

[NEW!] Auth JWT Multirole + CRUD, Searching, Pagination, Showing with Laravel React Vite and Template admin stisla!

License

Notifications You must be signed in to change notification settings

dragonsea0927/laravel-react-vite-stisla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image

Laravel React Vite Stisla

This project is a web application built with Laravel, ReactJS with Vite, and Stisla Admin Template. The web application is designed to provide a user-friendly interface for managing data with the CRUD, searching, pagination, showing, single page application, and validation features.

Folder Structure

  • backend: Contains the Laravel project
  • frontend: Contains the ReactJS project

Features

  • Laravel for backend RESTful API
  • ReactJS with Vite for frontend development
  • Stisla Admin Template for responsive and user-friendly interface
  • CRUD operations for managing data
  • Searching and pagination functionality
  • Single page application with React Router
  • Form validation with ReactJS validation rules
  • [NEW!] Authentication with JWT Token
  • [NEW!] Validation and sweetalert authentication
  • [NEW!] Multiple authentication role REST API with laratrust!
  • [NEW!] Page: 404, 403.

Prerequisites

  1. PHP >= 8.1 or new
  2. Composer
  3. Node.js last version
  4. NPM last version
  5. MySQL or MariaDB last version

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/fhmiibrhimdev/laravel-react-vite-stisla.git
  1. Install the dependencies for the Laravel project:
cd backend
composer install
  1. Create a .env file for your Laravel project and configure your database settings:
cp .env.example .env
  1. Generate a new APP_KEY for your Laravel project:
php artisan key:generate
  1. Run database migrations:
php artisan migrate:fresh --seed
  1. Run JWT Secret and Storage Link:
php artisan jwt:secret
php artisan storage:link
  1. Install the dependencies for the ReactJS project:
cd ../frontend
npm install
  1. Start the development server for the ReactJS project:
npm run dev
  1. Start the development server for the Laravel project:
cd ../backend
php artisan serve
  1. Visit Localhost in your web browser to access the web application.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

[NEW!] Auth JWT Multirole + CRUD, Searching, Pagination, Showing with Laravel React Vite and Template admin stisla!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published