/web_server_cpp

XCS — A web server written in C++ designed to enhance fluency with the language and extend knowledge of server-side programming.

Primary LanguageC++MIT LicenseMIT

XCS — Extremely Cute Server Logo

Accomplishments

  • Implemented file-based routing similar to Next.js
  • Developed a basic sequential/persistent server model
  • Added support for processing various assets based on requests
  • Automatically resolves media/source files

Usage

Requires Visual Studio, and Ninja build environment: https://ninja-build.org/

Building the Project

# Clone the Repository
> git clone https://github.com/swoorpious/web_server_cpp web_server_cpp
> cd web_server_cpp

# Generate Ninja Build Files
> mkdir build
> cd build
> cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug ..
> ninja # ninya

# Run the Server
> cd build
> web_server_cpp

Sources