Skip to content

C++ Web Server for Nott Course, an unofficial enhanced version of University of Nottingham's course catalogue.

Notifications You must be signed in to change notification settings

EricWay1024/nott-course-server-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Web Server for Nott Course

Find more about the project: EricWay1024/nott-course: React app of an unofficial enhancement of the course catalogue offered by University of Nottingham.

Built With

Getting Started

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.git

Install 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.deb

Building and Running

mkdir build
cd build
cmake ..
cmake --build .
wget https://github.com/EricWay1024/nottCrawlerNew/releases/latest/download/data.db
./nottCourseServer &

Database Specification

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.

About

C++ Web Server for Nott Course, an unofficial enhanced version of University of Nottingham's course catalogue.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published