Skip to content

Compact easy to use C++(14,17) REST API and static HTTP server

License

Notifications You must be signed in to change notification settings

alukin/CppRestServ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ RestAPI/HTTP Server

This is "testbed" project for Casablanca (MS cpprest) based REST/HTTP server (https://github.com/Microsoft/cpprestsdk)

Main idea is to enable easy REST endpoint creation and simple static conten serving in C++ project that use cpprest.

It is about 2 years old and provided here as example of my C++ code. But anyway, feel fre to use it. I hope this code will be usefull as example of Java-style easy to use REST service library.

If I where writing such kind of library today, I'd use Boot Beast and JSON library by Niels Lohmann.

Requirements

Boost developemnt package (boost-devel) and CPPRest development package (cppres-devel)

You also need CMake and, obviously, gcc-c++. On Fedora Linux, run:

sudo dnf install boost-devel cpprest-devel cmake gcc-c++

About

Compact easy to use C++(14,17) REST API and static HTTP server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published