#Shrtnr
A very basic Golang URL shortener backed by Redis.
There is a basic Angular frontend written but this is intended to be consumed as a restful API.
POST /
data:
{
"LongURL": "a long url for a webpage",
"RequestURL": "the requested short url" // optional
}GET /stats/[short url]
Response:
(more data points may be added)
{
"HitCount": X
}GET /[short url]
Any get request that is not to /, /static/* or /favicon.ico will be interpreted as a forward request.