Skip to content

BrinkOfSecondBailout/Rust_Webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Webapp

A simple web application built with Rust, demonstrating basic server functionalities using a thread pool to spawn predetermined numbers of threads while continuously deploying "workers" to handle each connection.

Full Live Coding Video

Watch Me Code It Live

Getting Started

Prerequisites

  • Rust (version 1.70 or later) installed via rustup
  • Cargo (comes with Rust)

Installation

  1. Clone the repository:
    git clone https://github.com/BrinkOfSecondBailout/Rust_Webapp.git
    cd Rust_Webapp
    
  2. Build the project:
    cargo build
    

Running the Application

  1. Start the server:

    cargo run 
    

    The app will listen on http://localhost:7878 by default.

  2. Open your browser and navigate to http://localhost:7878 to see the home page.


About

A simple web application built with Rust, demonstrating basic server functionalities using a thread pool to spawn predetermined numbers of threads while continuously deploying "workers" to handle each connection.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors