Reimagining web infrastructure by building it from scratch.
2024
Client
webServer
The Challenge
I wanted to design and implement a lightweight yet functional web server capable of handling HTTP requests, routing, and static content delivery without relying on existing frameworks.
The goal was to gain a deep understanding of networking, concurrency, and HTTP protocol implementation, while ensuring the server remained efficient, modular, and easily extensible.
Solution
I developed a custom C++ web server from scratch, featuring:
-
Full HTTP/1.1 support including GET, POST, and file uploads
-
Routing and request parsing for dynamic responses
-
Non-blocking I/O and concurrency for efficient multi-client handling
-
CGI execution for running scripts
-
Custom error handling and logging system
This project provided an in-depth exploration of low-level networking and the building blocks of web infrastructure, combining C++ performance with robust architecture.


