Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesuisstan/42_http_webserver
implementation of a simple http web server in c++
https://github.com/jesuisstan/42_http_webserver
42 cpp html http makefile server
Last synced: about 1 month ago
JSON representation
implementation of a simple http web server in c++
- Host: GitHub
- URL: https://github.com/jesuisstan/42_http_webserver
- Owner: jesuisstan
- Created: 2022-01-28T21:24:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-17T19:50:49.000Z (over 1 year ago)
- Last Synced: 2023-05-17T20:27:12.980Z (over 1 year ago)
- Topics: 42, cpp, html, http, makefile, server
- Language: C++
- Homepage:
- Size: 14.6 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 42_http_webserver
## Foreword
This is one of the Ecole 42 common core projects.\
It is about implementing a simple http web server in c++ in team of 3 students.\
The project is written with the C++98 standard and provides good understanding of http protocol, basic html and threading.## Description
The final 42_http_webserver includes:
- Compatibility with the Chrome and Mozilla web browsers.
- HTTP response status codes is accurate.
- Server has default error pages if none are provided.
- Clients are able to upload files.
- Implemented GET, POST and DELETE methods.
- Server is able to listen to multiple ports.Full project description you can find in `en.subject.pdf`.
## Requirements
- installed `clang++`
- installed `Makefile`## How to use
In project directory:
1. Run `make` to compile the project.
2. Execute `./webserv` to run 42_http_webserver.
3. Proceed to `http://127.0.0.1:8888/` to test 42_http_webserver.
4. Run `make fclean` to delete all created files.