https://github.com/rurangiza/adars
Building an HTTP server to understand how it works.
https://github.com/rurangiza/adars
http server tcp-ip
Last synced: about 1 year ago
JSON representation
Building an HTTP server to understand how it works.
- Host: GitHub
- URL: https://github.com/rurangiza/adars
- Owner: rurangiza
- License: mit
- Created: 2023-09-26T17:55:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-30T19:51:04.000Z (over 2 years ago)
- Last Synced: 2023-12-01T10:33:14.062Z (over 2 years ago)
- Topics: http, server, tcp-ip
- Language: C++
- Homepage:
- Size: 119 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ADARS
## Building an HTTP server using C++98 without libraries
This project was about building an HTTP in order to understand how they work under the hood. That's why no libraries were used (outside the standard ones).

## Features
- serve static pages (HTML, CSS,..)
- handles GET, POST and DELETE requests
- file upload
- handle multiple simultaneous connections
- run multiple servers on different ports based on config file
- have different settings for each server via a configuration file
## Try it
The easiest way is to run the docker image of our server. Here is how:
1. install and launch [Docker](https://www.docker.com/)
2. run the command `docker run -p 8000:8000 rurangiza/adars` in your terminal
3. visit http://localhost:8000/ and have fun!
## How it works
