Initial commit

This commit is contained in:
2022-08-26 21:10:50 +02:00
parent f5b7072065
commit 2bf97a0194
21 changed files with 1339 additions and 2 deletions

View File

@@ -1,3 +1,15 @@
# 5feet11
Short.
A URL shortener that generates links even shorter than 5'11.
## Usage
```bash
# Shorten a URL
curl --header "Content-Type: application/json" \
--request POST \
--data '{"redirectUrl":"https://news.ycombinator.com"}' \
http://localhost:5111/redirect
# Expand the URL
curl -iL http://localhost:5111/{id}
```