A URL Shortener built for blazinglyfast.net.
docker compose up
NOTE: The server is configured to use Redis for caching, although the program is customizable to opt out of caching and not depend on Redis. Please install
redis-server
if not present.
redis-server
cargo run --release
Bash Scripts under ./scripts
can be used to interact with the running server.
./scripts/shrink.sh https://blazinglyfast.net/
# {"shrunk":"http://localhost:3000/hWU7Xgc"}
./scripts/alias.sh blaze https://blazinglyfast.net/
# {"shrunk":"http://localhost:3000/blaze"}