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

pngouin/pinshorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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