项目
在 GitHub 查看
moeen-basra/laravel-react
关于
Laravel 8 和 React 17 脚手架
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Laravel 8 and React 17 boilerplate
There are two different ways to run this demo
Please follow the guide.
Prerequisite
Option 1
git clonecreate a .env file copy content from .env.example and update the valuescomposer install && composer updatephp artisan cron:refresh-database- if npm version < 7
npm install && npm run develsenpm install --legacy-peer-deps && npm run dev php artisan key:genphp artisan serve
Option 2
Prerequisite
Make sure you have docker and docker-compose installed on you machine.
git clonecreate 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 lr_app sh
now you will be inside container
run following commands
composer install && composer updatephp artisan cron:refresh-databasephp artisan key:gen- if npm version < 7
npm install && npm run develsenpm install --legacy-peer-deps && npm run dev
open browser and check the following address
http://localhost:8100
TODO:
- Add Redux
- Add Laravel Sanctum for authentication
- User Login
- User Register
- Users Crud
- Articles Crud
- Form validation Client and Server
- Reset Password
- Tests
- Upgrade to Laravel 7
- Upgrade to React 16.13
- docker
探索相关项目
加载中…