/URLShortenerAPI

REST API for shortening urls written in go

Primary LanguageGoMIT LicenseMIT

URLShortenerAPI

codecov

This is a HTTP Service for creating short url

@author Mihai Timbota-Belin

@version 1.0.0

Installation

Fork or clone the code.

git clone https://github.com/Mihai22125/URLShortenerAPI.git

Build the code from the root directory

go build -o server

This sends the output of go build to a file called server in the same directory.

Execute the file

./server

You should see something similar to the following:

$ ./server
url-api2021/02/02 15:27:53 Starting server on port  :8080

Documentation

Documentation can be accessed by typing localhost:8080/docs in your browser after running the server.