laravel-react

Laravel 6 and React 16.12 boilerplate

Github星跟踪图

Laravel 6 and React 16.12 boilerplate

There are two different ways to run this demo

Please follow the guide.

Prerequisite

  1. Make sure you have composer installed.
  2. Make sure you have latest stable version of node installed.

Option 1

  1. git clone
  2. create a .env file copy content from .env.example and update the values
  3. composer install && composer update
  4. php artisan cron:refresh-database
  5. npm install && npm run dev
  6. php artisan key:gen
  7. php artisan serve

Option 2

Prerequisite

Make sure you have docker and docker-compose installed on you machine.

  1. git clone
  2. create a .env file copy content from .env.docker and do not make any change

run following command in terminal / power shell

docker-compose up -d

when docker will finish building the containers, access the "laravel-react-app" container using following command

docker exec -it laravel-react-app sh

now you will be inside container

run following commands

  1. composer install && composer update
  2. php artisan cron:refresh-database
  3. php artisan key:gen
  4. npm install && npm run dev

open browser and check the following address

http://localhost:8100

TODO:

  • Add Redux
  • Add Passport for authentication
  • User Login
  • User Register
  • Users Crud
  • Articles Crud
  • Form validation Client and Server
  • Reset Password
  • Tests
  • Upgrade to Laravel 6
  • Upgrade to React 16.12
  • docker

主要指标

概览
名称与所有者moeen-basra/laravel-react
主编程语言PHP
编程语言PHP (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2017-03-14 15:48:05
推送于2022-08-15 14:38:47
最后一次提交
发布数10
最新版本名称v3 (发布于 )
第一版名称v1.0.0 (发布于 )
用户参与
星数568
关注者数34
派生数244
提交数226
已启用问题?
问题数54
打开的问题数0
拉请求数15
打开的拉请求数0
关闭的拉请求数7
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?