Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/239573049/EarthChat
https://github.com/239573049/EarthChat
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/239573049/EarthChat
- Owner: 239573049
- License: apache-2.0
- Created: 2023-07-26T06:27:27.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2023-12-04T15:09:41.000Z (7 months ago)
- Last Synced: 2024-02-23T10:32:24.920Z (4 months ago)
- Language: C#
- Homepage: https://chat.tokengo.top/
- Size: 7.53 MB
- Stars: 90
- Watchers: 1
- Forks: 24
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-semantickernel - EarthChat
README
Earth Chat
一个支持百万用户的Chat系统!
## 项目介绍
基于SignalR实现的Chat聊天,支持横向扩展,以便支撑上万用户同时在线聊天。
采用DDD领域驱动设计模式,CQRS架构模式,分离读写模型,架构更清晰,并且维护成本更低。
![Alt text](image.png)### 后端架构设计
- ASP.NET Core 7
- PostgreSQL
- Redis
- [MasaFramework](https://docs.masastack.com/framework/concepts/overview)
- DDD领域驱动设计模式 CQRS架构模式
- SignalR (实现对话并且使用redis支持横向扩展)### 前端架构
- React
- [Semi UI](https://semi.design/zh-CN/start/getting-started)
- Axios
- Vite
- Avalonia## 贡献
## 后端环境变量配置
当环境变量为空则读取配置文件的值
| 环境变量名称 | 环境变量值 |
| ----------------------- | ------------------------------------------ |
| REDIS_CONNECTION_STRING | Redis连接字符串 |
| SQLTYPE | 数据库类型 `sqlite`|[`pgsql`|`postgresql`] |
| CONNECTION_STRING | 数据库连接字符串 |## 交流群
![交流群](docs/static/img/ed1d8637a5ea540308d85523bd2a9f4.png)