Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neon-20/rust-http-server


https://github.com/neon-20/rust-http-server

Last synced: about 2 months ago
JSON representation

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'**.