Skip to content

Laravel React Boilerplate with Ant Design, Route-Level Code Splitting, Redux, Sanctum Auth

License

Notifications You must be signed in to change notification settings

connorchris831/laravel-react-boilerplate

Repository files navigation

Laravel React Boilerplate

Total Downloads Latest Stable Version License

Laravel React Boilerplate helps to fasten your development, Instead of spending more time on configuring React and SPA Authentication.

Pre-Configured with

  • Laravel 9
  • Laravel Sanctum for SPA Auth
  • React 18
  • Redux
  • React Router
  • Route-Level Code-Splitting
  • Axios
  • Ant Design
  • Redux Saga
  • Sass
  • ESLint
  • Preconfigured redux store, actions and saga.

Pre-Configured Modules

  • User Login
  • User SignUp
  • Auth Routes

Quick Start

Laravel Development Environment setup

You can choose either one for your development

  1. Laravel Homestead
  2. Laravel Sail

Required setup before clone

  1. Composer 2.
  2. Node stable version.

Usage

Option 1

  1. Install using composer
composer create-project nilanth/laravel-react-boilerplate
  1. cd laravel-react-boilerplate
  2. Run yarn install
  3. Create a Database
  4. Update the Database credential to .env file
  5. Run php artisan migrate -> To create needed tables.
  6. Run php artisan db:seed -> To seed some fake users.
  7. Run yarn run dev
  8. Update API HOST_URL in resources/js/config/constant.js file

Option 2

  1. Clone this Repo
  2. cd laravel-react-boilerplate
  3. Create a .env by copying .env.example and Update the required fields.
  4. Run composer install
  5. Run php artisan key:gen
  6. Run yarn install
  7. Create a Database
  8. Update the Database credential to .env file
  9. Run php artisan migrate -> To create needed tables.
  10. Run php artisan db:seed -> To seed some fake users.
  11. Run yarn run dev
  12. Update API HOST_URL in resources/js/config/constant.js file

Coming Up

  • Tests
  • Custom Error response for API request
  • Reset Password
  • Email Verification

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Support

This project needs a ⭐️ from you. Don't forget to leave a star ⭐️

If you found this boilerplate helpful, consider supporting me with a coffee.

Buy Me A Coffee

About

Laravel React Boilerplate with Ant Design, Route-Level Code Splitting, Redux, Sanctum Auth

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages