Blazingly fast URL shortener written in go
Go to file
2024-12-23 16:39:33 +02:00
cmd minor fixed for postgres 2024-12-23 16:39:33 +02:00
models first commit 2024-09-11 17:58:42 +03:00
views add postgresql support 2024-12-23 16:31:53 +02:00
.air.toml first commit 2024-09-11 17:58:42 +03:00
.dockerignore docker 2024-09-12 21:34:38 +03:00
.gitignore add postgresql support 2024-12-23 16:31:53 +02:00
docker-compose.yml minor fixed for postgres 2024-12-23 16:39:33 +02:00
Dockerfile docker 2024-09-12 21:34:38 +03:00
go.mod add postgresql support 2024-12-23 16:31:53 +02:00
go.sum add postgresql support 2024-12-23 16:31:53 +02:00
README.md Update README.md 2024-09-12 22:02:10 +03:00

shortr

Blazingly fast url shortener, written in go

Instaallation

The first step is cloning this repo:

git clone https://github.com/4rkal/shortr && cd shortr

Edit the docker-compose.yml and set a base url:

command: ["/shortr", "--url", "YOUR_URL"]

Change the YOUR_URL, to the url where your app served from (eg app.4rkal.com)

Now you can run the application via docker.

Using docker

Assuming that you have docker compose installed simply run

docker compose up

Now the application should be available by vissiting localhost:8080