項目功能需求、 技術架構介紹
功能需求
登錄/註冊
個人信息
搜索添加好友
好友聊天
技術架構
- 前端
開發工具: HBuilder
框架: MUI、 H5+
- 後端
開發工具: IDEA
框架: Spring Boot、 MyBatis、 Spring MVC、 FastDFS、 Netty
數據庫: mysql
模擬器測試
安裝附件中的夜神 Android 模擬器
安裝後找到模擬器的安裝目錄
到命令行中執行以下命令
nox_adb connect 127.0.0.1:62001
nox_adb devices
進入到 Hbuilder 安裝目錄下的 tools/adbs 目錄
切換到命令行中執行以下命令
adb connect 127.0.0.1:62001
adb devices
端口號在Hbuider中查看“工具” —>“選項”
數據庫表結構介紹
tb_user 用戶表
tb_friend 朋友表
tb_friend_req 申請好友表tb_chat_record 聊天記錄表
使用 MyBatis 逆向工程生成代碼
創建 Spring Boot 項目