this is a simple url shortening app developed using golang
- fork or clone the repository
- open the app folder
- run command below
docker-compose up -d --build
-
POST </shorten>
send request with body of this format:
{ "long_url" : "YOUR_WEBSITE_URL" }
-
GET </:short_url>
just put the short value you get after sending POST request here
If you're in the browser, you will be redirected to your desired website