Skip to content

viscat/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL SHORTENER

Url shortener written in Go.

Uses BoltDB

Configuration

You can change urlshortener domain (p.io by default) by editing docker-compose.yml URLSHORTENER_DOMAIN environment variable

Run

This will build and run urlshortener API at http://localhost:

$ docker-compose up -d

API

Add Url to shorten

Request
PUT /add
{"url": "http://www.example.com/test"}
Response
{"url": "p.io/fsDETr"}

About

Url shortener written in Go ⚡

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published