Skip to content

sjnprjl/url-shortener-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Url shortener API

url-shortener-api is a simple tool to shorten the long url hard to understand url to simple and short url for you to share across the network 😋.
The functionality of the shortener is simple. It first get the url from the client and shorten it using base62 algorithm based on uuid. Not that cool 💤

API ENDPOINT

Create short url

POST /api/v1/shorten

body

{
    "url": "https://example.com"
}

retrieve original url

GET /api/v1/original/{shortUrl}

About

Not perfect.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published