Skip to content
jefeferreiraPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

URL Shortener

Encurtador de URLs em golang

Recursos

  • Criar URLs encurtadas
  • Redirecionamento automático

Pré-requisitos

Go

Como executar o projeto

  • Compile o projeto
go build -o shortener
  • Execute o binário
./shortener

Como utilizar o encurtador

Criar URL encurtada

Enviar uma requisição POST para o endpoint: http://localhost:8080/shorten:

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

URL encurtada:

{
  "short_url": "http://localhost:8080/7scoqEp1"
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages