Skip to content

DrkWithT/ToyWebServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToyWebServer

Brief

A toy HTTP/1.1 web server made with modern C++. It will supports enough to serve pages to a browser.

Prerequisites

  1. A working *nix system (also WSL)
  2. Git with GitHub account
  3. CMake with Make or another native build system

Setup

  1. Ensure that the prerequisites are installed.
  2. Clone this repo to your local system with git clone <url>. The URL is from the Code button's submenu with cloneable URL links.
  3. Enter the cloned repo folder.
  4. Permit project.sh and run it:
    • Usage: project.sh i
    • Debug: project.sh d
    • Release: project.sh r

To-Do's:

  1. Implement response serializer and writer.
  2. Implement simple single-threaded server.
  3. Refactor single-threaded system to producer-consumer setup.

About

WIP C++ web server for fun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published