-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTraining
35 lines (30 loc) · 822 Bytes
/
Training
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
1. Khởi tạo project laravel
composer create-project laravel/laravel BE
php artisan serve
2. Khởi tạo project Reactjs
npx create-react-app fe
cd fe
npm start
3. sau khi clone Git ve may
git clone https://github.com/trankimphu0609/ReactJS_Laravel.git
// FrontEnd
cd fe
npm install
npm install axios
npm install react-date-picker
npm install firebase
// BackEnd
cd BE
composer install
copy .env.example .env
php artisan key:generate
php artisan serve
@reduxjs/toolkit
react-dom
react-redux
4. Create Database + API
- php artisan make:model TenTable
- php artisan make:migration create_table_products
- php artisan make:controller API/_tenTableController
- php artisan migrate
Run web: "C:\Program Files \Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp