A simple web server built with Rust and Actix-web.
Before running this project, you need to have Rust installed on your system.
-
Visit rustup.rs or run the following command in your terminal:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
Follow the installation prompts
-
After installation, restart your terminal or run:
source "$HOME/.cargo/env"
Alternatively, you can install rust using Homebrew:
brew install rust- Clone this repository
- Navigate to the project directory
- Run the server using Cargo:
cargo run
The server will start and be available at http://localhost:8080
You can test the server by visiting http://localhost:8080 in your web browser or using curl:
curl http://localhost:8080You should see the message: "Hello, DevOps candidate!"