This repository holds the code for a chat application written in C++.
Read the full docs here.
Build | Docs | Live server |
---|---|---|
Try it! |
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.
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.
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.
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.
Drop us a message in the cpplang Slack! Contributors are more than welcome!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。