pinshorter

command module
v0.0.0-...-7ec0da2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL