Laract is a Laravel + React Starter Project to lessen the time setting up a new project
- Laravel
- React
- React Router
- Redux
- Redux Saga
git clone https://github.com/aindong/laract.git projectName
(any project name that you want)- go to
projectName
folder - copy .env.example as .env
cp .env.example .env
- execute
composer install
- generate key
php artisan key:generate
- then execute
npm install
- update
.env
to your desired settings - to instatiate laravel passport, execute
php artisan passport:install
- then run
php artisan migrate
for the migrations
- run
php artisan serve
- then run on another terminal window or tab
npm run watch
- a browser will open that will redirect you to
localhost:3000
- Add React
- Add React Router
- Add Redux
- Add Redux-Saga
- Home Page
- About Page
- Blog Page
- Contact Us Page
- Login Page
- Registration
- Authentication using passport
- Code Splitting
- User Management
- Permission and Roles
- Tests