Our great sponsors
-
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.
-
Oat++
🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
-
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.
i mostly use https://github.com/yhirose/cpp-httplib as its easy and header only
If you really want to use C++, check out something like Crow, https://crowcpp.org/ and same thing, you can pass messages between the server and your application
BTW give a look to https://github.com/Gregwar/mongoose-cpp
I've used OATPP ( https://github.com/oatpp/oatpp ) which worked nicely for setting up simple rest interfaces. Supports things like swagger & websockets out of the box. It's also on Conan which is nice if you use cmake. I can't speak to it's performance but it has about a 1mb binary size footprint.
Related posts
- Experience using crow as web server
- RESTful API framework
- VueJS goes to microcontroller firmware. This website runs in ESP32 board, with frontend is made with VueJS, TailwindCSS and backend is written in C++.
- REST APIs using C++. (Is this even done much?)
- [Cpp] Quelle bibliothèque de serveur Web C++ faut-il utiliser de nos jours ?