Example of REST API, reading and writing from Postgres, written in Rust and using the Axum framework
docker build --progress=plain -t rust-axum-postgres .
docker run --rm --name postgres -e POSTGRES_USER=docker -e POSTGRES_PASSWORD=docker -e POSTGRES_DB=docker -p 5432:5432 -d postgres
docker run --rm -d --network host --name my-rust-axum-postgres rust-axum-postgres