senior0909 / laravel9-inertiajs-reactjs-starter

This is a starter code to start the project built with Laravel 9 + InertiaJs + ReactJs, which already includes multiple layout admin templates with login for authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo Logo Logo

Laravel Inertia ReactJs Starter

This is a starter code to start the project, which already includes multiple layout admin templates with login for authentication
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Screenshoot
  3. Roadmap
  4. Getting Started
  5. Usage
  6. Contributing
  7. License
  8. Contact
  9. Acknowledgments

About The Project

(back to top)

Built With

(back to top)

Screenshoot

Login Register Landing Page
Login Register Landing Page
Dashboard Manage User Profile Page
Dashboard Manage User Profile Page

(back to top)

Roadmap

  • Integrations Argon Dashboard 2 HTML template to ReactJs
  • Multiple layout (Guest, Base, Auth)
  • Authentication
    • Sign in
    • Register
    • Google Sign in
  • User Management
  • Profile
  • Activity Log
  • Roles and Permissions

See the open issues for a full list of proposed features (and known issues).

(back to top)

Getting Started

Get a local copy (clone the repo)

Prerequisites

install Composer & NodeJs

Installation

  1. Clone the repo
    git clone https://github.com/agungksidik/laravel9-inertiajs-reactjs-starter.git
  2. Install dependency Laravel
    composer install
  3. Install NPM packages
    npm install
    npm run dev
  4. Create table corresponds to .env
    DB_DATABASE=yourdatabase_name
    DB_USERNAME=your_username
    DB_PASSWORD=your_password
  5. Run migration & Seeder
    php artisan migrate --seed
  6. Google Sign In (Insert to your .env)
     GOOGLE_CLIENT_ID='your_client_id'
     GOOGLE_CLIENT_SECRET='your_client_secret'
     GOOGLE_REDIRECT='your_callback_url'

(back to top)

Usage

  1. run server-side (Laravel)
    php artisan serve
  2. See webpack.min js
    mix.browserSync('your_url.test'); //if using Laravel Valet
    mix.browserSync('127.0.0.1:8000'); //if using artisan serve
  3. run client-side (ReactJs)
    npm run hot
  4. Default password
    setup in UserFactory
    default '123456'

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Agung Sidik Muhamad - @agungksidik - agungksidik@gmail.com

Project Link: https://github.com/agungksidik/laravel9-inertiajs-reactjs-starter

(back to top)

Acknowledgments

(back to top)

About

This is a starter code to start the project built with Laravel 9 + InertiaJs + ReactJs, which already includes multiple layout admin templates with login for authentication

License:MIT License


Languages

Language:JavaScript 56.4%Language:CSS 20.5%Language:SCSS 19.7%Language:PHP 3.2%Language:Blade 0.1%Language:Shell 0.0%Language:Sass 0.0%