clacladev / basic-http-server-rust

This is a basic HTTP server implementation in Rust. This is a small research project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic HTTP Server in Rust

This is a basic HTTP server implementation in Rust. This is a small research project.

How to run

  1. Ensure you have cargo (1.70) installed locally
  2. In the terminal run ./your_server.sh --directory ~/Downloads to run your HTTP server with a file download directory (optional)
  3. In another terminal run curl command at the IP and port specified in the first terminal

How to test

Run cargo test to run the tests

About

This is a basic HTTP server implementation in Rust. This is a small research project.


Languages

Language:Rust 98.0%Language:Shell 2.0%