Laravel React Boilerplate with Ant Design, Route-Level Code Splitting, Redux, Sanctum Auth
The Laravel React Boilerplate is a development tool that aims to speed up the development process by providing pre-configured features such as Laravel 9, Laravel Sanctum for SPA authentication, React 18, Redux, React Router, and more. It also includes pre-configured modules for user login, sign up, and authentication routes. The boilerplate offers two installation options: using Composer and Laravel Homestead or Laravel Sail, or cloning the repository and manually configuring the necessary settings.
To install the Laravel React Boilerplate, you have two options:
Option 1:
cd laravel-react-boilerplate
composer install
yarn install to install the necessary frontend dependencies..env file.php artisan migrate to create the required database tables.php artisan db:seed to seed the database with some fake user data.API_HOST_URL in the resources/js/config/constant.js file.yarn run dev to compile the frontend assets and start the development server.Option 2:
git clone [repository_url] laravel-react-boilerplate
cd laravel-react-boilerplate
.env file by copying the .env.example file and update the required fields.composer install.php artisan key:gen.yarn install to install the necessary frontend dependencies..env file.php artisan migrate to create the required database tables.php artisan db:seed to seed the database with some fake user data.API_HOST_URL in the resources/js/config/constant.js file.yarn run dev to compile the frontend assets and start the development server.The Laravel React Boilerplate is a development tool that provides a pre-configured environment for developing Laravel and React applications. It includes features such as Laravel 9, Laravel Sanctum for SPA authentication, React 18, Redux, React Router, and more. The installation process offers two options: using Composer and Laravel Homestead or Laravel Sail, or cloning the repository and manually configuring the settings. Overall, the Laravel React Boilerplate aims to streamline the development process and improve productivity by reducing the setup and configuration time.