Created by:
- Oskar Gusta (back-end - C++ + SQL)
- Konrad Skowron (front-end, separate repository)
This server is designed to deliver a CRUD REST service for a project centered around organizing and presenting in a searchable, visual way the administrative regions of the Czech Republic. It supports subregions and has enchanced support build into the SQL for searches. Currently, SwaggerUI integration is complete but migration is not so manual setup of the DB is nececarry.
This project's demo is currently deployed Here
This project handles dependancies automatically, so it is not necessary to install anything but CMake, Ninja and a compiler.
- Create a postgres database
- Fill out the connection string
uni_bd2_backend/CMakeLists.txt
Line 135 in 5302a79
- Compile and run
$ mkdir build && cd build
$ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=ninja
$ ninja
$ ./src/uni_bd2_backend-exe