Contributors Forks Stargazers Issues MIT License LinkedIn

Logo Logo

Laravel Inertia ReactJs Starter

project_description Explore the docs »

View Demo · Report Bug · Request Feature

About The Project

Built With

Getting Started

Get a local copy (clone the repo)

Prerequisites

install Composer & NodeJs and update to latest version

  • npm

    npm install npm@latest -g
  • composer

    php composer.phar self-update

Installation

  1. Clone the repo
    git clone https://github.com/agungksidik/laravel9-inertia-react-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'

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'

Roadmap

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

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

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

License

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

Contact

Agung Sidik Muhamad – @agungksidik[email protected]

Project Link: https://github.com/agungksidik/laravel9-inertia-react-starter

Acknowledgments

GitHub

View Github