- 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.git 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: https://youtube.com/@eom-dev
- Microsoft Winsock2 Reference: https://learn.microsoft.com/windows/win32/winsock
- Medium Article by @skreweverything: https://medium.com/from-the-scratch/http-server...
- Web server written in Rust by @is-it-ayush: https://github.com/is-it-ayush/hotpocket
- Emoji logo edited/borrowed from: https://github.com/twitter/twemoji