A simple HTTP server implemented in Rust that serves HTML files located within the www folder.
- Rust (stable)
- Cargo
To run this HTTP server, follow the steps:
- Clone the repository.
git clone https://github.com/Gabriel-Jeronimo/rust-http-server.git- Navigate to the project directory.
cd rust-http-server- Build and run the server
cargo runYou can use cURL, Postman or other tool to make the HTTP requests.
curl -i localhost:8080/