Skip to content

sumory/ciao

Repository files navigation

Ciao [tʃaʊ]

GitHub release license

a minimal C++ web framework inspired by lor framework which respects Sinatra style.

#include <ciao/app.h>

using namespace ciao;

int main(int argc, char* argv[]) {
    App app;
    app.get("/", [](Request& req, Response& res, Next& next){
        res.send("hello world!");
    });
    app.listen(8080).run();
    return 0;
}

Features

  • Sinatra routing style
  • Middleware support
  • Group router support
  • HTTP API Server oriented design
  • Easy to integrate with other HTTP server/library

License

MIT License