Skip to content

MuhammetCanNamli/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Project Title

URL Shortener

Description

URL shortener coded using Golang

Getting Started

Dependencies

  • Golang

Executing program

  • First, the Go module needs to be installed.
go mod init urlshortener
go get github.com/gorilla/mux
  • Then, the project can be run via terminal/cmd.
go build url_shortener.go
main

or

go run url_shortener.go
  • After the localhost server is started, we can shorten the URL we want to shorten via terminal/cmd with the following code:
curl -X POST -d "url=link" http://localhost:8080/shorten
  • Finally, we can copy the URL created on the terminal/cmd screen and use it through the web browser.

Project Features

  • The project is a simple CLI based URL shortening application.

Authors

Muhammet Can Namli

Help

If you have suggestions and recommendations, please contact me.
I would appreciate your support to make the project more modular.

About

URL shortener coded using Golang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages