Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 738 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 738 Bytes

Rust HTTP Server

Educational implementation of an HTTP webserver in Rust

Webserver Features

  • Host & Port configurable via CLI arguments
  • Supports GET, UPDATE & DELETE HTTP methods
  • Basic Routing
  • Has a simple in-memory DB
  • Reads from disk on startup
  • Writes to disk on each modification request

Glaring Omissions

  • Tests
  • Proper Error Handling (unwraps all around)
  • Multi-Threading
  • Graceful Shutdowns (at least the DB gets written to disk on each request)
  • Proper Logging (only println! here)

Server Logs

image

Client Logs

image