Skip to content

hovanhoa/go-url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

About this Repo

This is a repository for URL shortener apis. It comes with most sensible plugins already installed:

How to run

Create the default.yaml file by copy example.yaml file in deployments folder

Download dependencies

go mod download

Run server

make server

Run server with live reload

make air

or

Run with docker

cd deployments
POSTGRES_PASSWORD=... REDIS_PASSWORD=... docker-compose up -d

Open Makefile for more details.

License

Distributed under the MIT License.