Umbrella-Developers / my-reactjs-adminpanel

my-reactjs-adminpanel conversion from laravel blade to ReactJS
MIT License
0 stars 0 forks source link

<!DOCTYPE html>

Laravel Logo

Build Status Total Downloads Latest Stable Version License

## About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Application Setup

Requirements

For setting up Laravel project

Go to GitHub and move to your repository. Clone the code in the git repository. After cloning, open up the application code inside an IDE like VS Code and do the following.

Environment and Database Setup

Laravel environment settings have been saved in the .env.example file. In this step, we configure the Application settings.

We need to fill in the following details to set the environment:

Create a new database inside MYSQL. Once everything is set, go to the application folder and open the terminal.

There is a database backup also available inside the project folder. If you import the backup, you can skip points 3 and 4.

Run the following commands to proceed:

  1. composer install
  2. php artisan optimize
  3. php artisan migrate
  4. php artisan db:seed
  5. php artisan serve

With composer install it will install the required packages.

With php artisan optimize it will clear cache and configurations.

With php artisan migrate it will migrate database tables to your newly created database inside MYSQL.

With php artisan db:seed it will update tables with data for users, roles, and permissions.

With php artisan serve you will be able to run the project in a local environment.

Once the application is started, visit http://localhost:8000/login (the port can be different in your case).

After logging in, you will start seeing the response.

To login to the system use the following credentials

For Super Admin

For Admin

API Documentation

Middleware Flow

  1. Device Check
    Method: Middleware
    Route: check.device
    Description: Ensures the request is coming from a verified device.
  2. Sanctum Authentication
    Method: Middleware
    Route: auth
    Description: Protects routes requiring user authentication via Laravel Sanctum.
  3. Additional Middleware
    Method: Middleware
    Route: auth, verified, permissions
    Description: Ensures user authentication, email verification, and proper permissions.

Authentication Flow

User Management Flow

Permission Management Flow

Role Management Flow

Page Management Flow

Configuration Management Flow

FAQ Management Flow

Application Log Management Flow