- 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
Requires Visual Studio, and Ninja build environment: https://ninja-build.org/
# 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
-
Web Server from Scratch series on YouTube by Eric O Meehan: youtube.com/@eom-dev
-
Microsoft Winsock2 Reference: learn.microsoft.com/windows/win32/winsock
-
Medium Article by @skreweverything: medium.com/from-the-scratch/http-server...
-
Web server written in Rust by @is-it-ayush: github.com/is-it-ayush/hotpocket