Skip to content

KevinDaSilvaS/v-shortener

Repository files navigation

url shortener built with vlang

To create a link:

POST
http://localhost:8081/create

BODY:
{
	"link_url": "https://github.com/",
	"link_name": "hi"
}

To go to a link:

GET
http://localhost:8081/:link
EXAMPLE:
http://localhost:8081/hi

How to run the app:

v -enable-globals run shortener.v //we use globals to store our redis connection

About

url shortener built with vlang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages