Skip to content

eduleon/ubiquitous-winner

Repository files navigation

Lightning fast app base on Actix (TOP#2 Web Framework by Performance -> https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=composite)

ALT1: Rust Actix-Web app

Install Rust (depends on OS)

https://www.rust-lang.org/tools/install

Running unit tests

cargo test

Run app

cargo run
# Started http server: localhost:5000

ALT2: Dockerized Actix-Web app

Build image (be pacient)

docker build -t actix-web-sample:1.0 .

Running unit tests

docker build -t actix-web-sample:test --target base .
docker run --rm actix-web-sample:test

Run built image

docker run -p 5000:5000 actix-web-sample:1.0
# and the server should start instantly
curl http://localhost:5000/

Usage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published