Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evilsocket/librestd
A low dependencies and self contained library to create C++ RESTful API services.
https://github.com/evilsocket/librestd
Last synced: 6 days ago
JSON representation
A low dependencies and self contained library to create C++ RESTful API services.
- Host: GitHub
- URL: https://github.com/evilsocket/librestd
- Owner: evilsocket
- License: gpl-3.0
- Created: 2017-10-21T14:54:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-09T12:07:15.000Z (about 6 years ago)
- Last Synced: 2024-07-31T22:46:17.451Z (3 months ago)
- Language: C++
- Size: 158 KB
- Stars: 199
- Watchers: 18
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- stars - evilsocket/librestd
README
# librestd
A low dependencies and self contained library to create C++ RESTful API services ( **UNDER HEAVY DEVELOPMENT** ).
## Scope
This library and the underlying HTTP server component do **not** support the full HTTP specs but were rather implemented with speed and simplicity in mind. Nevertheless, as it is possible to see from the `hello_world.cpp` example file, the library offers every basic feature you might need in order to wrap your C++ tools/engines/business logic as REST services running on `localhost` ( or bound to a UNIX domain socket ).
## Compilation
git clone https://github.com/evilsocket/librestd.git
cd librestd
cmake -DCMAKE_BUILD_TYPE=Release .
make
And install with:sudo make install
## Usage
For an usage example see the `hello_world.cpp` file.
## License
`librestd` is released under the GPL 3.0 license and it's copyleft of Simone 'evilsocket' Margaritelli.
JSON support provided using the [JSON for Modern C++](https://github.com/nlohmann/json) library by Niels Lohmann.