urlshortener

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

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 5 Imported by: 0

README

URL Shortener

Here is an outline for designing a backend service for a URL shortener using Go and the Hexagonal Architecture, with Domain-Driven Design (DDD) principles

How to run

$ go test ./...
$ go build -o shortener .
$ ./shortener migrate -- --config CONFIGFILE.yaml
$ ./shortener run -- --config CONFIGFILE.yaml

docker:

$ docker-compose up
$ docker exec -it base sh
$ ./shortener migrate

and you are ready to go

Featurs:

  • Postgres for saving urls
  • Redis for caching and JWT
  • Docker and Docker compose
  • Hexagon Architecture
  • DDD Principles
  • Tests

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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