A simple URL shortener website backend built with Rust, Axum & SQLx.
- You must have Rust installed on your system.
- Clone the repository:
git clone https://github.com/deathlesz/shortener.git- Build it using
cargo:
cd shortener
cargo build # or cargo build --release- Set the environment variables shown in
.env.example. - Run it!
# using cargo
cargo run # or cargo run --release
# or manually
./target/{debug,release}/shortenerAs an alternative, Kubernetes manifests are provided in k8s directory.
The project is distributed under the terms of AGPL-3.0 license.