Skip to content

后端

Web / HTTP

  • Beast - HTTP and WebSocket built on Boost.Asio in C++11.
  • cpprestsdk - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
  • cpr - C++ Requests: Curl for People, a spiritual port of Python Requests.
  • Crow - A Fast and Easy to use microframework for creating webservers (inspired by Python Flask).
  • dmbcs-micro-server - C++20-based JSON, HTML, text and PNGs over HTTP; simple way to embed a server into your application to provide a web-based UI.
  • Drogon - A C++14/17 based, high-performance HTTP application framework
  • oat++ - High-performance Web framework (C++11, zero-dependency).
  • pistache - An elegant C++ REST framework.
  • restbed - Restbed framework brings asynchronous RESTful functionality to C++11 applications.

Database

  • mongo-cxx-driver - C++ Driver for MongoDB.
  • redox - Modern, asynchronous, and wicked fast C++11 client for Redis.
  • sqlite_orm - powerful header only SQLite3 ORM library for C++14.
  • sqlite3pp - C++ wrapper of SQLite3 API.
  • sqlpp11 - A type safe SQL template library for C++.
  • libpqxx - The official C++ client API for PostgreSQL.

Logging

  • fmtlog - A fmtlib-style logging library with latency in nanoseconds.
  • spdlog - Fast C++ logging library.
  • loguru - A lightweight and flexible C++ logging library

Parsing & Serialization

  • json 🥇 - JSON for Modern C++.
  • jsoncpp - A C++ library for interacting with JSON.
  • toml++ - A header-only C++17 library for parsing TOML v0.5.0 and later.
  • tinytoml -A header only C++11 library for parsing TOML.
  • yaml-cpp - A YAML parser and emitter in C++.
  • cpptoml - A header-only library for parsing TOML configuration files.
  • cereal - A C++11 library for serialization.
  • cista - A C++17 library for high-performance zero-copy binary serialization.
  • simdjson - Accelerate the parsing of JSON per se using commonly available SIMD instructions
  • Boost.JSON - A JSON library with robust support for custom allocators.
  • hjson-cpp - A C++11 library for reading and writing Hjson and/or JSON files.
  • json_struct - High performance, single header JSON parser, parsing directly to and from C++ structs.

String formatting & templating

  • {fmt} - Small, safe and fast formatting library.
  • Inja - A Template Engine for Modern C++.
  • Mustache - Mustache text templates in C++11.
  • tinyformat.h - Minimal, type safe printf replacement library for C++.
  • pprint - Pretty Printer for Modern C++.