This is a simple system to simulate the process of buying a rail ticket
It uses drogon framework as the backend and cpp-httplib as the client
requirements:
sudo apt install mariadb-serverin macOS
brew install mariadbdrogon framework
fmt
jwt-cpp
It'll be recommend to install them using vcpkg
git clone https://github.com/Microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh
vcpkg integrate install
vcpkg install [packages to install]to install these dependencies using vcpkg
[path to vcpkg] install drogon drogon[mysql] cpp-httplib fmt jwt-cppmkdir build
./build.sh# to run the server
./serve.sh
# to run the client
./client.sh