A URL shortener written in Rust.
# Fill in your .env.example
nano .env.example
# Move the filled in .env.example to .env
mv .env.example .env
# Run the code using
cargo run
# or run the compiled binary using
./url-shortener
- Fill in your .env.example
- rename it to .env
- run the server using
cargo run
or if you downloaded a binary run theurl-shortener.exe
file.
I have no idea, feel free to add one with a pull request
You can also run this on docker using the provided Dockerfile.
ROCKET_PORT in the .env can be used to set the server's port
ROCKET_ADDRESS in the .env can be used to set the server's address. See more here