This is a demonstration of Rust in the context of web applications (to be) presented at TEX at Codeborne offices.
SwaggerUI that you can play with is available at http://cb-rust-demo.herokuapp.com/openapi/
The application will run on port 8080
.
$ cargo run
To build a docker container, you must first build the binary outside of the container in your own environment. This is due to the caching limitations of GitHub Actions and some other small annoyances.
$ cargo build --release
$ docker build -t cb_rust_demo .
$ docker run -it --rm -p 8080:8080 cb_rust_demo