Install the required libraries: pqxx, boost and cpprestsdk.
$ apt install libpqxx-dev libboost-dev libcpprest-dev
Compile with
$ make all
The server executable accepts two arguments:
- address
- port
Example of usage:
$ ./server http://localhost 9999
An environment variable DATABASE_URL
should be defined with the URI of the database.