https://github.com/sumory/ciao
a minimal C++ web framework (beta)
https://github.com/sumory/ciao
apis cpp embedded-webserver http-server middleware sinatra web
Last synced: 12 months ago
JSON representation
a minimal C++ web framework (beta)
- Host: GitHub
- URL: https://github.com/sumory/ciao
- Owner: sumory
- License: mit
- Created: 2017-08-05T06:28:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-24T07:13:30.000Z (over 8 years ago)
- Last Synced: 2025-03-27T23:12:50.333Z (about 1 year ago)
- Topics: apis, cpp, embedded-webserver, http-server, middleware, sinatra, web
- Language: C++
- Homepage:
- Size: 45.9 KB
- Stars: 13
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Ciao [tʃaʊ]
[](https://github.com/sumory/ciao/releases/latest) [](https://github.com/sumory/ciao/blob/master/LICENSE)
a minimal C++ web framework inspired by [lor](https://github.com/sumory/lor) framework which respects [Sinatra](https://github.com/sinatra/sinatra) style.
```c++
#include
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](http://www.sinatrarb.com/) routing style
- Middleware support
- Group router support
- HTTP API Server oriented design
- Easy to integrate with other HTTP server/library
### License
[MIT](./LICENSE) License