Find more about the project: EricWay1024/nott-course: React app of an unofficial enhancement of the course catalogue offered by University of Nottingham.
-
CrowCpp/Crow: A Fast and Easy to use microframework for the web.
-
SRombauts/SQLiteCpp: SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
All commands tested on Debian Bullseye.
Clone this repo. Note that
SQLiteCpp is included as a submodule of this repo.
git clone --recurse-submodules https://github.com/EricWay1024/nott-course-server-cpp.gitInstall Crow.
sudo apt-get install build-essential libboost-all-dev
wget https://github.com/CrowCpp/Crow/releases/download/v1.0%2B3/crow-v1.0+3.deb
sudo apt install ./crow-v1.0+3.deb
rm ./crow-v1.0+3.debmkdir build
cd build
cmake ..
cmake --build .
wget https://github.com/EricWay1024/nottCrawlerNew/releases/latest/download/data.db
./nottCourseServer &data.db is generated by the crawler here.
data.db is a SQLite database with two tables: course and plan. All fields in both tables are stored as text, but some fields are stringified JSON objects. Check the schemas here.