modulepackage
0.0.0-20230305003409-f3d703e15d6d
Repository: https://github.com/poximy/goly-backend.git
Documentation: pkg.go.dev
# README
Goly Backend
Goly is inspired by bit.ly
Web app is live at goly.poximy.com
Built with .go
and chi
API
Redirects to original url
[ID] is a randomly generated
/[ID] GET 301
Creates a shortened url
/ POST 201
request:
{
"url": "https://goly.vercel.app"
}
response:
{
"id": "123456",
"url": "https://goly.vercel.app",
"clicks": 0
}