yahat-cpp
beauty
yahat-cpp | beauty | |
---|---|---|
2 | 1 | |
6 | 0 | |
- | - | |
6.4 | 2.8 | |
5 months ago | about 1 year ago | |
C++ | ||
MIT License | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yahat-cpp
-
REST APIs using C++. (Is this even done much?)
Yahat-cpp: Simple HTTP/API server library for use in C++ micro-services. This was just some code that kept evolving inside various projects, so I distilled it to a separate project to make it simpler to maintain. For an example of a real server using it, you cal look at nsblast, a new DNS server I'm implementing.
-
Has anyone embedded a web-UI into a C++ project?
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.
beauty
-
REST APIs using C++. (Is this even done much?)
I've been planning/dreaming up a new project that contain both (high level) server and client code, offering asio continuations, and C++20 co-routine support (via asio and/or the new C++ network library that may arrive one day). The goal is to provide something that makes it simple to use HTTP/ REST and gRPC from C++, supporting HTTP 1.1 to 3.0. Personally I find boost.Beast hard to use correctly. Also, it lacks support for HTTP 2 and 3. The placeholder for this project is beauty ;)
What are some alternatives?
restc-cpp - Modern C++ REST Client library
mstch - mstch is a complete implementation of {{mustache}} templates using modern C++
Crow - A Fast and Easy to use microframework for the web.
nsblast - Massively scalable authorative DNS server
cpp-httplib - A C++ header-only HTTP/HTTPS server and client library
Pistache - A high-performance REST toolkit written in C++
userver - Production-ready C++ Asynchronous Framework with rich functionality
Oat++ - 🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
Wt - Wt, C++ Web Toolkit
lithium - Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium
DPP - C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!