nilanth / laravel-react-boilerplate
Laravel React Boilerplate
Installs: 626
Dependents: 0
Suggesters: 0
Security: 0
Stars: 77
Watchers: 3
Forks: 32
Open Issues: 5
Type:project
Requires
- php: ^7.3|^8.0
- fruitcake/laravel-cors: ^2.0
- guzzlehttp/guzzle: ^7.0.1
- laravel/framework: ^9.0
- laravel/sanctum: ^2.9
- laravel/tinker: ^2.5
- laravel/ui: ^3.2
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel/sail: ^1.0.1
- mockery/mockery: ^1.4.2
- nunomaduro/collision: ^6.1
- phpunit/phpunit: ^9.3.3
- spatie/laravel-ignition: ^1.0
- dev-main
- v1.3
- v1.2.9
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5
- 1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2
- v1.1
- v1.0
- dev-dependabot/composer/laravel/framework-9.52.17
- dev-dependabot/npm_and_yarn/elliptic-6.6.0
- dev-dependabot/npm_and_yarn/http-proxy-middleware-2.0.7
- dev-dependabot/npm_and_yarn/webpack-5.94.0
- dev-dependabot/npm_and_yarn/micromatch-4.0.8
- dev-add-license-1
This package is auto-updated.
Last update: 2024-11-12 22:20:18 UTC
README
Laravel React Boilerplate
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
Required setup before clone
- Composer 2.
- Node stable version.
Usage
Option 1
- 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.js
file
Option 2
- 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.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.