Skip to content

axelboberg/lnkshrtnr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lnkshrtnr

A lightweight link shortener built with Go and Redis.

Table of contents

API

POST /api/links

Shorten a link

Example body

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

Example response

{
  "id": "1Dfu27E9nYr27l0Y"
}

GET /:id

Redirects to the url mapped to the id or returns 404 page not found.

Disclaimer

This project was intended as a demo-project, there may be hickups, bugs and roadblocks.

License

MIT

About

A basic link shortener

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published