Laravel React application for login signup.
- Laravel 8
- Laravel Sanctum for SPA Auth
- React 17
- Redux
- React Router
- Route-Level Code-Splitting
- Axios
- Ant Design
- Redux Saga
- Sass
- ESLint
- Preconfigured redux store, actions and saga.
- User Login
- User SignUp
- Auth Routes
You can choose either one for your development
- Composer 2.
- Node stable version.
- Install using composer
composer create-project --prefer-dist laravel/laravel authentication
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
- Clone this Repo
cd authentication
- 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