web-service-count-axum 1.4.0

Web service that displays the hit count by using Axum, Tokio, Rust. The purpose of this is simple testing of our systems.
web-service-count-axum-1.4.0 is not a library.

Web service count axum

documentationsourcellms.txtcrateemail

Web service that displays the hit count by using Axum, Tokio, Rust.

This is a very simple web service that we use for testing our systems.

Steps

Run the service using the default address 0.0.0.0:8080:

cargo run

Browse https://localhost:8080/count

You should see a web page that displays the hit count.

Options

Run the service using a command line option for a custom address:

cargo run -- "1.2.3.4:5678"

Run the service using an environment variable for a custom address:

export ADDRESS="1.2.3.4:5678"
cargo run

References

Based on free open source software Demo Rust Axum.