link-shortener

🔗 It make the link shorter.

Stars
2
Committers
3

link-shortener

It make the link shorter.

Running

Install dependencies:

go get

Build the application

go build

Start the application:

Note that you need to have elasticsearch running

ES_URL=http://localhost:9200 ./link-shortener

Developing

Run tests:

go test 

We use go-vcr to record HTTP requests as fixtures so if you add a new test, you'll need to spin up Elastic in order to record your request.

I'll put more info here later. This is kind of WIP right now.