# CChat **Repository Path**: suycx/CChat ## Basic Information - **Project Name**: CChat - **Description**: 恋恋风辰的全栈聊天项目,linux版 - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 0 - **Created**: 2024-11-05 - **Last Updated**: 2025-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CChat 恋恋风辰的全栈聊天项目 ## 需要的第三方库 ```shell # hiredis sudo apt-get install libhiredis-dev # mysqlconnector_c++ sudo apt install default-libmysqlclient-dev # protobuf + grpc [参考](https://llfc.club/category?catid=225RaiVNI8pFDD5L4m807g7ZwmF#!aid/2eIaoR0NBxxirmXKdzcke9vJxmP) # jsoncpp 1.92 下载源码 到build文件夹 cmake .. --> make -j6 && make install # boost sudo apt-get install libboost-dev libboost-test-dev libboost-all-dev ``` ## 编译 需要支持C++20 ```shell bash build.sh Debug # 或 bash build.sh Release ``` ## 运行 在`bin/`下找到可执行文件,直接运行即可 ## 登陆流程 ![alt text](docs/login.drawio.png) ## 请求好友和聊天流程 ![docs/addfriend.drawio.png](docs/addfriend.drawio.png)