http server for modern C++ inspired from expressjs, note orni is currently in development and have lot of bugs so don't expect high performance and efficient responses from the web server, so any pull request or issue is appreciated
- httpparser (pre-installed with source code)
#include "orni_http_server.hpp"
int main(){
orni::HttpServer app;
app.route("/", [&](orni::Request&& req, orni::Response&& res){
res.set("Content-Type", "text/html");
res.send("<h1>Hello from orni !</h1>");
res.dump();
});
app.run(1234);
}
head to examples folder !
- params
- queries
- built-in ORM
- html template rendering
- documentation
- cookies
- encryption
- cookie parser