Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trobert42/webserv

A fully configurable home-made web server in C++ (following HTTP/1.1 RFC)
https://github.com/trobert42/webserv

cpp http socket webserver

Last synced: 9 days ago
JSON representation

A fully configurable home-made web server in C++ (following HTTP/1.1 RFC)

Awesome Lists containing this project

README

        

# Web server in C++ (HTTP/1.1)

Webserv is a project marking the introduction to socket programming. The objective is to develop an HTTP/1.1 compliant program that emulates the functionality of Nginx. Initially challenging, this project requires extensive documentation review to understand its complexities. It covers fundamental concepts such as sockets, HTTP requests and responses, headers, and CGI.

| Project Name | webserv |
| :----------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------: |
| Description | A fully configurable home-made web server in C++ (following HTTP/1.1 RFC) |
| Technologies | C++ PHP HTML |

## Install

```bash
gcl https://github.com/trobert42/webserv.git
cd webserv
make
./webserv config_files/default.conf
```

## Usage
When its done compiling, you go to your chrome browser (firefox also works) and write on the URL bar "localhost:8080" to access to the website.

## 💬
Thanks Antoine, loved your dedication for the project, your curiosity whether about the knowledge/concepts of websocket or the refactoring principles. Working with you made me more curious about the underlayings notions. Hope to work with you soon !

## Screenshots
![](https://github.com/trobert42/webserv/blob/main/webserv_screenshot.png)