Has anyone embedded a web-UI into a C++ project?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nsblast

    Massively scalable authorative DNS server

  • I hope this question is not too off-topic here. I'm a bit lost. I'm working on a C++ project (a DNS server). It exposes a REST API via an embedded, very simple HTTP server. I have added swagger to document the API, and to test it from a browser. Now, I want to provide a simple web-UI to the application. I don't want this to become a major task, and ideally I want either a UI that lives as some simple js/css/http files in the browser, (so it can be served as a static website on the server-side like swagger) - or some simple to use back-end library in C++ that can drive the web-UI. In short, I hope to find a way to do this where I can have a POC ready in <= a week, and where I don't have to spend lot's of time learning some js framework.

  • yahat-cpp

    Yet Another Http API Thing - A trivial HTTP server for simple REST API's in C++ projects

  • I hope this question is not too off-topic here. I'm a bit lost. I'm working on a C++ project (a DNS server). It exposes a REST API via an embedded, very simple HTTP server. I have added swagger to document the API, and to test it from a browser. Now, I want to provide a simple web-UI to the application. I don't want this to become a major task, and ideally I want either a UI that lives as some simple js/css/http files in the browser, (so it can be served as a static website on the server-side like swagger) - or some simple to use back-end library in C++ that can drive the web-UI. In short, I hope to find a way to do this where I can have a POC ready in <= a week, and where I don't have to spend lot's of time learning some js framework.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Wt

    Wt, C++ Web Toolkit

  • mstch

    mstch is a complete implementation of {{mustache}} templates using modern C++

  • Here's what I did: - I bought a theme that I liked, and used mstch as template engine (matched the theme's template format) - Imported rapidjson for parsing JSON, and used mstch for generating JSON (the JSON I generate is simple enough that I can do this) - Wrote an HTTP handler class for each page that handles the GET and POST requests, generating HTML or JSON depending on the request

  • RapidJSON

    A fast JSON parser/generator for C++ with both SAX/DOM style API

  • Here's what I did: - I bought a theme that I liked, and used mstch as template engine (matched the theme's template format) - Imported rapidjson for parsing JSON, and used mstch for generating JSON (the JSON I generate is simple enough that I can do this) - Wrote an HTTP handler class for each page that handles the GET and POST requests, generating HTML or JSON depending on the request

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts