url-shortener

command module
v0.0.0-...-04692c9 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: MIT Imports: 13 Imported by: 0

README

url-shortener

A url shortener microservice made in Golang using hexagonal service architecture principles. Most of the code is from https://github.com/tensor-programming/hex-microservice as part of his Golang video series on Youtube. This is mostly for learning and reference purposes.

Getting Started

  1. Clone repo
  2. cp .env-example .env
  3. docker-compose up --build
  4. Test in postman or curl by sending a POST request to localhost:8000 with Content-Type: application/json header set:
{
    "url": "https://github.com/edwintcloud?tab=repositories"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
repositories
serializers

Jump to

Keyboard shortcuts

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