Skip to content

ShortGG/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo-short-gg


backend of short.gg

Behind the scenes of short.gg


Routes

GET /shorten/:url
Return the shortened url key

GET /find/:key
Return the long url through the key.
Or Teapot if not found.

GET /:key
Return 301 with the long url in the location header.