type
status
date
slug
summary
tags
password
category
Property
Jan 20, 2023 04:03 PM
icon
项目包含的模块
- PK模块:匹配界面(微服务)、实况直播界面(WebSocket协议)
- 对局列表模块:对局列表界面、对局录像界面
- 排行榜模块:Bot排行榜界面
- 用户中心模块:注册界面、登录界面、我的Bot界面、每个Bot的详情界面
前后端分离模式
- SpringBoot实现后端
- Vue3实现Web端和AcApp端
项目框架:
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F746dc080-b843-471f-91ab-9afc49a1bcd2%2FUntitled.png?table=block&id=c7b7aa4d-0677-4c5b-986c-236530cd992b&t=c7b7aa4d-0677-4c5b-986c-236530cd992b&width=1731&cache=v2)
Git 作用:
- 存档
- 同步不同机器上的代码
Git 配置:
cd
进入家目录
- 先生成密钥,执行
ssh-keygen
若之前已经生成则直接cd .ssh/
- 将
id_rsa.pub
的内容复制到Git上
git config
user.name
“xxx”
git config
user.email
“xxx”
git remote add origin git@xxx
git push -u origin master
Git 常用命令:
git init
git status
git add .
git commit -m “text”
git push
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F5ebcb693-0050-4a2a-adbb-34e5b7c09a0e%2FUntitled.png?table=block&id=70628d76-e492-4891-9596-1826c78781a6&t=70628d76-e492-4891-9596-1826c78781a6&width=1513&cache=v2)
前后端分离:Html页面是在用户浏览器渲染(字符串拼接)
前后端不分离:在服务器里渲染
配置Spring后端
打开IDEA,新建项目,选Java8,注意配套的SpringBoot版本小于3