jabba

package module
v0.0.0-...-b9a316c Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: MIT Imports: 1 Imported by: 0

README

Jabba

Fast and simple link shortener.

Development

Some commands need to be installed to work on Jabba.

# Build system
$ go get -u -d github.com/magefile/mage
$ cd $GOPATH/src/github.com/magefile/mage
$ go run bootstrap.go

# Handling static files
$ go get -u github.com/gobuffalo/packr/packr

The development server can then be started. The server will be restarted automatically when changes are made.

$ mage development

Production

Jabba is packaged into a single binary, which can simply be copied onto the server. The .env file is used for configuration.

$ mage production

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package bolt implements reading and writing from a Bolt database.
Package bolt implements reading and writing from a Bolt database.
cmd
jabba
Command jabba runs the web server.
Command jabba runs the web server.
Package http implements the HTTP interface.
Package http implements the HTTP interface.
middleware
Package middleware defines some generic middleware.
Package middleware defines some generic middleware.
Package model defines all the models.
Package model defines all the models.

Jump to

Keyboard shortcuts

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