Skip to content

novig-dev/devops-takehome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Web Server

A simple web server built with Rust and Actix-web.

Prerequisites

Before running this project, you need to have Rust installed on your system.

Installing Rust

  1. Visit rustup.rs or run the following command in your terminal:

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  2. Follow the installation prompts

  3. After installation, restart your terminal or run:

    source "$HOME/.cargo/env"

Alternatively, you can install rust using Homebrew:

brew install rust

Running the Server

  1. Clone this repository
  2. Navigate to the project directory
  3. Run the server using Cargo:
    cargo run

The server will start and be available at http://localhost:8080

Testing

You can test the server by visiting http://localhost:8080 in your web browser or using curl:

curl http://localhost:8080

You should see the message: "Hello, DevOps candidate!"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages