Skip to content
This repository was archived by the owner on Aug 9, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (18 loc) · 792 Bytes

File metadata and controls

29 lines (18 loc) · 792 Bytes

Logo

Pinshorter

A URL shortener in Go and Angular. https://pinshorter.herokuapp.com/JW3b7

Login Site

Getting started

Pinshorter only needs a Postgresql database to work.

Environment variable

Name Description
DATABASE_URL The connection querystring to authenticate to the postgresql database
PINSHORTER_SECRET The secret to signing JWT tokens
PORT Must be a number. The port where the apllication is listening

CLI

The CLI has only one argument

Name Description
dev Start the server in dev mode, CORS allow all origin