Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nilanth/laravel-react-boilerplate
Laravel React Boilerplate with Ant Design, Route-Level Code Splitting, Redux, Sanctum Auth
https://github.com/nilanth/laravel-react-boilerplate
antd antd4 axios code-splitting laravel laravel-8 laravel-mix laravel-react-boilerplate laravel-react-redux laravel9 react react-hooks react-redux react-router redux redux-saga sanctum scss
Last synced: about 1 month ago
JSON representation
Laravel React Boilerplate with Ant Design, Route-Level Code Splitting, Redux, Sanctum Auth
- Host: GitHub
- URL: https://github.com/nilanth/laravel-react-boilerplate
- Owner: Nilanth
- License: mit
- Created: 2021-02-13T15:16:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T13:22:02.000Z (about 2 months ago)
- Last Synced: 2024-10-11T11:23:35.690Z (about 1 month ago)
- Topics: antd, antd4, axios, code-splitting, laravel, laravel-8, laravel-mix, laravel-react-boilerplate, laravel-react-redux, laravel9, react, react-hooks, react-redux, react-router, redux, redux-saga, sanctum, scss
- Language: PHP
- Homepage: https://laravel-react-boilerplate.herokuapp.com
- Size: 3.99 MB
- Stars: 78
- Watchers: 3
- Forks: 32
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
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](https://github.com/ant-design/ant-design)
- [Redux Saga](https://redux-saga.js.org/)
- [Sass](https://sass-lang.com/)
- [ESLint](https://github.com/eslint/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](https://laravel.com/docs/8.x/homestead)
2. [Laravel Sail](https://laravel.com/docs/8.x/sail)### Required setup before clone
1. [Composer 2](https://getcomposer.org/download/).
2. [Node](https://nodejs.org/en/) stable version.## Usage
### Option 1
1. Install using composer
```
composer create-project nilanth/laravel-react-boilerplate
```2. `cd laravel-react-boilerplate`
3. Run `yarn install`
4. Create a Database
5. Update the Database credential to .env file
6. Run `php artisan migrate` -> To create needed tables.
7. Run `php artisan db:seed` -> To seed some fake users.
8. Run `yarn run dev`
9. 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](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Nilanth](https://github.com/nilanth)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) 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.