Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mengyou658/im-chat-electron-simple
im chat electron simple webrtc 即时通讯 简单桌面端, webrtc语音,发送文字,图片,视频, nodejs后台 mysql数据库
https://github.com/mengyou658/im-chat-electron-simple
chat electron nodejs peerjs
Last synced: 1 day ago
JSON representation
im chat electron simple webrtc 即时通讯 简单桌面端, webrtc语音,发送文字,图片,视频, nodejs后台 mysql数据库
- Host: GitHub
- URL: https://github.com/mengyou658/im-chat-electron-simple
- Owner: mengyou658
- License: mit
- Created: 2023-05-11T07:20:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-11T07:37:37.000Z (over 1 year ago)
- Last Synced: 2024-03-20T05:11:11.726Z (8 months ago)
- Topics: chat, electron, nodejs, peerjs
- Language: Vue
- Homepage:
- Size: 6.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# im-chat-electron-simple
im chat electron simple webrtc 即时通讯 简单桌面端, webrtc语音,发送文字,图片,视频, nodejs后台 mysql数据库## TODO 计划
1. TODO 界面美化
2. TODO 增加视频通话## 界面预览
1. ![img.png](assets/img.png)
2. ![img2.png](assets/img2.png)
3. ![img1.png](assets/img1.png)## 依赖
1. mysql8版本
2. nodejs 16版本以上## 前端 chart-electron
1. 安装
```cmd
yarn
```
2. 开发
```cmd
yarn dev
```
3. 编译
```cmd
yarn build:win
```
## 后台 char-service
1. 安装mysql8
2. 导入数据库`mysql.sql`### 修改配置
1. 修改mysql配置
```js
const db = mysql.createConnection({
host: "localhost",
user: "root",
password: "admin",
database: "chatim"
})
```
2. 启动服务
```cmd
node app.js
```