A small web-service which returns a random image on request
|
|
||
|---|---|---|
| .gitignore | ||
| AlbumCover.png | ||
| CMakeLists.txt | ||
| crow_all.h | ||
| main.cpp | ||
| README.md | ||
PicApi
A small web-service which will return a random image when given a request.
Set-Up
- Install CMake and libasio-dev (e.g.
sudo apt install cmake libasio-devon debian/ubuntu) - In this repo, create two new directories titled "static" and "build"
- Place all your images in "static"
- Cd into "build" and run
cmake ..followed bycmake --built . - The previous commands will produce a
pic_apibinary, run that
