Another useless service for shortening links :trollface:
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
cmd/brevity-http-server
config
db/migrations
helm
model
token
vendor
web
.gitignore
.pgmgr.json
Dockerfile
LICENSE
README.md
main.go

README.md

Brevity

Another useless service for shortening links :trollface:

Install

Kubernetes cluster

Locally

Clone the repository:

$ git clone https://github.com/mgrachev/brevity
$ cd brevity

Install dependencies:

$ go get github.com/rnubel/pgmgr
$ go get -u github.com/kardianos/govendor
$ govendor sync

Create a database and run migrations:

$ pgmgr db create
$ pgmgr db migrate

Run the HTTP-server:

$ PG_CONNECTION_URL=postgres://... go run cmd/brevity-http-server/brevity-http-server.go