Link shortener using firestore
curl --location --request POST "$URL:8080/api/short" --header 'Content-Type: application/json' --data-raw '{
"url": "https://www.facebook.com/khanhvu2212/",
"name": "Custom Name",
"short": "personal-fb",
"expired_at": null
}'
Simply follow the link $URL/api/g/$SHORT
Example :$URL/api/g/personal-fb
will be redirected to https://www.facebook.com/khanhvu2212/