shorty

command module
v0.0.0-...-b42fec1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

shorty

Go Report Card

shorty is a simple URL shortening service. It uses a key-value store and has no user management itself but is built to integrate well into other services. Inspired from seeing microlinks (eg: kcd.im) used by Kent C Dodds all over his blog.

Getting Started

Pre-requesites
Development
  • Run the server: make run
  • Run tests: make test
Usage
  • Build the app from source: make build
  • Place a config.yaml file in the same directory as the binary with the following variables:
    PORT: :<port you want to listen and serve from>
    BOLT-PATH: 'path of the bolt database file with extension .db'
    

Author

Kunal Kundu @tinfoil-knight

Acknowledgements

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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