sumory / ciao

a minimal C++ web framework (beta)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

a minimal C++ web framework (beta)

License:MIT License


Languages

Language:C++ 95.1%Language:CMake 3.0%Language:Shell 1.8%Language:C 0.2%