A Simple Rust Web Server Application that counts the number of hits on any keys.
Based on Axum, SQLx, and Postgres.
docker compose up --build# install sqlx-cli
cargo install sqlx-cli --no-default-features --features postgres
# create the database and run the migrations
sqlx database create
sqlx migrate run
# run the server
cargo rundocker build -t jannchie/hits .