File tree Expand file tree Collapse file tree 2 files changed +20
-18
lines changed Expand file tree Collapse file tree 2 files changed +20
-18
lines changed Original file line number Diff line number Diff line change 31
31
## 克隆项目
32
32
33
33
后端项目地址:[ React-SpringBoot] ( https://github.com/zzh1991/React-SpringBoot )
34
-
35
34
前端项目地址:[ movie-helper-front] ( https://github.com/zzh1991/movie-helper-front )
36
35
36
+ ``` bash
37
+ # cd React-SpringBoot/
38
+ git clone https://github.com/zzh1991/movie-helper-front.git
39
+ ```
40
+
37
41
## 🚀 使用
38
42
39
43
### 支持 Java 17 和 Spring Boot 3
@@ -87,13 +91,13 @@ spring:
87
91
88
92
#### 配置前端依赖
89
93
90
- - ` cd front ` :切换到前端文件夹
91
- - ` yarn ` : 安装前端依赖
94
+ - ` cd movie-helper- front ` :切换到前端文件夹
95
+ - ` npm install ` : 安装前端依赖
92
96
- 启动前端
93
97
- 开发模式
94
- - ` yarn start`
98
+ - ` npm run start`
95
99
- 生产部署模式
96
- - ` yarn deploy`
100
+ - ` npm run deploy`
97
101
- 在 IDE 中启动应用
98
102
- 打开浏览器
99
103
- 开发模式: go to http://localhost:3000
@@ -102,12 +106,9 @@ spring:
102
106
### 更新前端代码
103
107
104
108
``` bash
105
- cd front
109
+ cd movie-helper- front
106
110
git fetch origin master
107
111
git rebase origin/master
108
-
109
- # or
110
- git submodule update --remote front
111
112
```
112
113
113
114
## 生成 Java API 文档
Original file line number Diff line number Diff line change @@ -35,9 +35,13 @@ Recently, I improved the performance from 50 to 90.
35
35
## Git clone repo
36
36
37
37
Back-end project: [ React-SpringBoot] ( https://github.com/zzh1991/React-SpringBoot )
38
-
39
38
Front-end project: [ movie-helper-front] ( https://github.com/zzh1991/movie-helper-front )
40
39
40
+ ``` bash
41
+ # cd React-SpringBoot/
42
+ git clone https://github.com/zzh1991/movie-helper-front.git
43
+ ```
44
+
41
45
## 🚀 Usage
42
46
43
47
### Support Java 17 and Spring Boot 3
@@ -91,13 +95,13 @@ spring:
91
95
92
96
#### Configure Front
93
97
94
- - ` cd front `
95
- - ` yarn ` : install dependency
98
+ - ` cd movie-helper- front `
99
+ - ` npm install ` : install dependency
96
100
- prepare front static files
97
101
- dev mode
98
- - ` yarn start `
102
+ - ` npm run dev `
99
103
- Deploy mode
100
- - ` yarn deploy`
104
+ - ` npm run deploy`
101
105
- start the web app in IDE
102
106
- open browser
103
107
- ` dev mode ` : go to http://localhost:3000
@@ -106,12 +110,9 @@ spring:
106
110
### Update submodule for front end
107
111
108
112
``` bash
109
- cd front
113
+ cd movie-helper- front
110
114
git fetch origin master
111
115
git rebase origin/master
112
-
113
- # or
114
- git submodule update --remote front
115
116
```
116
117
117
118
## Java doc
You can’t perform that action at this time.
0 commit comments