romain hoarau
the aim of the project is to recreate a web server in C++ 98. why not in C++ 23 ? because our school hates its students.
a web server is a computer software that handles requests and sends back a response.
think of this project like recreating nginx. for example, you can create different servers with different server_names, port, address
.
in the example above (sorry for the quality oops), you can see, on the right, a client (someone browsing the web) and on the left, the web server listening to requests and sending back responses.
I showcased some GET requests, a file upload with the POST method, and I also deleted the file with the DELETE method.
it has much more, like redirections and fastcgi, and everything can be customised with config files !
my role in this project was to do the parsing. the program takes as argument a JSON config file, so I basically had to do a JSON parser in C++ 98 🥲
if you're intrigued, you will find the source code of this project on my dedicated github page