1 Star 1 Fork 0

C++项目/servertech-chat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSL-1.0

BoostServerTech Chat

This repository holds the code for a chat application written in C++.

Read the full docs here.

Build Docs Live server
Build Status Build Status Try it!

The BoostServerTech project

This is the first of the BoostServerTech projects, a collection of projects that showcase how C++ and Boost can be used for server-side code.

Architecture

The server is based on Boost.Beast, asynchronous (it uses stackful coroutines) and single-threaded. It requires C++17 to build. It uses Redis and MySQL for persistence.

The client is web-based and uses Next.js. It communicates with the server using websockets.

You can read more about the architecture in this section of the docs.

Local development

You can quickly run the chat application in localhost by using Docker Compose, by running in a terminal at the repo root:

docker compose up --build

Or you can learn about how to set up a traditional development environment here.

Going live in minutes

This project features a CI/CD pipeline that can deploy your code to your server in minutes. All you need is a Linux server with SSH enabled, or an AWS account to create one. You can find out more here.

Want to contribute?

Drop us a message in the cpplang Slack! Contributors are more than welcome!

Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Web聊天室项目 展开 收起
README
BSL-1.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cppprojects/servertech-chat.git
git@gitee.com:cppprojects/servertech-chat.git
cppprojects
servertech-chat
servertech-chat
master

搜索帮助