GitXplorerGitXplorer
r

rustymail

public
3 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
60b89e898782c032c6d6354d2af5df0713b9b1b4

add health_check route and impletent integration test

rroynrishingha committed 2 years ago
Unverified
a0146aff3c064d7959d3b8fc8f7f64250bf1efd1

init

rroynrishingha committed 2 years ago

README

The README file for this repository.

rustymail logo

rustymail

Config

Method to change default port:

// Axum server is running on 127.0.0.1:8080
// Port 8080 is the default port.
// Pass desired port number as an argument in run_app funtion

#[tokio::main]
async fn main() -> Result<(), hyper::Error> {
    run_app(8080)?.await
}

Available Routes

/health_check - check server status. It returns a OK status without any body.