Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neon-20/rust-http-server
https://github.com/neon-20/rust-http-server
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/neon-20/rust-http-server
- Owner: Neon-20
- Created: 2023-10-02T16:55:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-12T18:11:28.000Z (about 1 year ago)
- Last Synced: 2024-05-02T05:45:07.206Z (8 months ago)
- Language: Rust
- Size: 1.45 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Watch the video](https://img.youtube.com/vi/Qf7aRSdWo1Q/0.jpg)](https://www.youtube.com/watch?v=Qf7aRSdWo1Q)
# **Click the Image above to open the video**
# Rust HTTP Server
Welcome to the documentation for Rust HTTP server made by me using TcpStream and Tcplistener.
## Overview
This project showcases a simple single-threaded HTTP server written in Rust.
## Features
- 🚀 **Single-Threaded**: A lightweight, single-threaded server.
- 🌐 **HTTP Support**: Serve web pages and handle HTTP requests.
- 🧩 **Modular Design**: Easily extend and customize the server.## Getting Started
To get started, follow these simple steps:
1. 📦 **Install Rust**: Make sure you have Rust installed on your system.
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
**Run the Project Yourself**
1. **Clone the Project**
To get started, clone the project repository to your local machine.```bash
git clone https://github.com/Neon-20/rust-http-server.git
2. **Build and run the project 🏗️**
```sh
cargo build
cargo run
3. **Access it at '127.0.0.1:7878'**.