Laravel React Redux Boilerplate

This template should help get you started developing with Laravel 10 + React 18 + Redux 8

Project Setup

git clone https://github.com/akramghaleb/laravel-react-redux-boilerplate.git
cd laravel-react-redux-boilerplate
composer install
npm install

Compile and Hot-Reload for Development

php artisan serve
npm run dev

Type-Check, Compile and Minify for Production

npm run build

Last steps

copy .env.example to .env file then

Generate Application key

php artisan key:generate

Edit .env file

APP_URL=http://localhost:8000

Done

References

Set up Laravel app with Inertia.js, React.js, and Vite.js

Install Redux Toolkit and React Redux