Wiki › Project
Build your own HTTP server
Article
ReadAll pages
From Chaipat's knowledge graph
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.