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.
- 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.
- User Login
- User SignUp
- Auth Routes
You can choose either one for your development
- Composer 2.
- Node stable version.
- Install using composer
composer create-project nilanth/laravel-react-boilerplate
- cd laravel-react-boilerplate
- Run yarn install
- Create a Database
- Update the Database credential to .env file
- Run php artisan migrate-> To create needed tables.
- Run php artisan db:seed-> To seed some fake users.
- Run yarn run dev
- Update API HOST_URL in resources/js/config/constant.jsfile
- Clone this Repo
- cd laravel-react-boilerplate
- Create a .env by copying .env.example and Update the required fields.
- Run composer install
- Run php artisan key:gen
- Run yarn install
- Create a Database
- Update the Database credential to .env file
- Run php artisan migrate-> To create needed tables.
- Run php artisan db:seed-> To seed some fake users.
- Run yarn run dev
- Update API HOST_URL in resources/js/config/constant.jsfile
- Tests
- Custom Error response for API request
- Reset Password
- Email Verification
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
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.