Skip to content

Link shortener is an implementation of the hexagonal architecture using Go, MongoDB, and Redis

Notifications You must be signed in to change notification settings

Lazhari/link-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go micro-service using Hexagonal Architecture

Link shortener is an implementation of the hexagonal architecture using Go, MongoDB and Redis.

Hexagonal Architecture

Starting the service

Redis

export URL_DB=redis
export REDIS_URL=redis://localhost:6379
go run .

MongoDB

export URL_DB=mongo
export MONGO_URL=mongodb://localhost/shortener
export MONGO_DB=shortener
export MONGO_TIMEOUT=30
go run .

About

Link shortener is an implementation of the hexagonal architecture using Go, MongoDB, and Redis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published