Code Monkey home page Code Monkey logo

laravel-react-vite-stisla's Introduction

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.

laravel-react-vite-stisla's People

Contributors

fhmiibrhimdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.