Build your own HTTP server
Project · challenge · 2024
Build your own HTTP server is his TypeScript solution, run on Bun, to CodeCrafters' HTTP server challenge. It is an HTTP/1.1 server written directly on TCP sockets that serves several clients at once. It parses requests by hand (request line, headers and body) and serves files from a directory. A .http file in the repository exercises its routes.
See also
In the knowledge graph
Build your own HTTP server and the 7 things it is linked to. Open any dot for its page, or explore it in the full graph.
As data
Everything on this page is read from triples in the knowledge graph. These are the 19 it states about Build your own HTTP server, and 2 more its ontology implies; the console runs SPARQL over the whole graph, here in your browser.
@prefix id: <https://ask.chaipat.cc/id/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix cj: <https://ask.chaipat.cc/ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . id:OwnHTTPServer a cj:Project ; rdfs:label "Build your own HTTP server" ; cj:description "HTTP/1.1 server that serves multiple clients (CodeCrafters)." ; cj:context id:OpenSource ; cj:repository "https://github.com/AppleBoiy/http-server"^^xsd:anyURI ; cj:firstCommit "2024-07-14"^^xsd:date ; cj:lastCommit "2024-07-15"^^xsd:date ; cj:commitCount 17 ; cj:kind "challenge" ; cj:theme id:ThemeSystems ; cj:uses id:TypeScript , id:Bun ; cj:tier 3 ; cj:integrates id:CodeCrafters ; cj:partOf id:CodeCraftersSeries ; cj:mentions id:OwnKafka ; cj:article "https://ask.chaipat.cc/wiki/OwnHTTPServer"^^xsd:anyURI ; cj:activeIn id:Y2024 ; cj:activity _:b119 .