Giter VIP home page Giter VIP logo

laravel-react-boilerplate's Introduction

Laravel React Boilerplate

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.

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

  1. Laravel Homestead
  2. Laravel Sail

Required setup before clone

  1. Composer 2.
  2. Node stable version.

Usage

Option 1

  1. Install using composer
composer create-project nilanth/laravel-react-boilerplate
  1. cd laravel-react-boilerplate
  2. Run yarn install
  3. Create a Database
  4. Update the Database credential to .env file
  5. Run php artisan migrate -> To create needed tables.
  6. Run php artisan db:seed -> To seed some fake users.
  7. Run yarn run dev
  8. 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 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.

Buy Me A Coffee

laravel-react-boilerplate's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.