Xpress++Fast C++ APIs for web, data, and native AI.
Build Drogon-powered services with an Express-like API, built-in middleware, SQL tooling, and lightweight helpers for exposing C++ AI workloads.
Build Drogon-powered services with an Express-like API, built-in middleware, SQL tooling, and lightweight helpers for exposing C++ AI workloads.
Production metrics under peak concurrent load (400 concurrent connections, 16-core CPU)
Keep the route shape readable while your hot path stays close to Drogon, C++ libraries, and native model runtimes.
#include <xpresspp/xpresspp.h>
int main() {
xp::App app;
app.get("/api/user", [](xp::Request&, xp::Response& res) {
res.ok({
{"status", "success"},
{"user", "Aaryan"}
});
});
app.listen(3000);
return 0;
}const express = require('express');
const app = express();
// Familiar route shape
app.get('/api/user', (req, res) => {
res.json({
status: 'success',
user: 'Aaryan'
});
});
app.listen(3000);The alpha focuses on the pieces that are already useful: HTTP APIs, middleware, SQL-backed services, and native C++ workloads.
Built on top of Drogon, one of the fastest HTTP frameworks in the world. Handles thousands of requests per second out of the box.
If you've used Express.js, you already know Xpress++. Routes, middleware, and responses all work exactly the way you'd expect.
Typed HTTP errors, developer hints in debug mode, and colored terminal output so you always know exactly what went wrong.
CORS, rate limiting, security headers, request IDs, and body limits — all included, zero config required.
Uses lambdas, std::optional, std::filesystem, structured bindings, and other C++20 features for clean, expressive code.
Create, build, run, and watch your projects with a single command. The xp CLI handles CMake so you don't have to.