Awesome
ggz
An URL shortener service written in Golang.
Features
- Support MySQL, Postgres or SQLite Database.
- Support RESTful or GraphQL API.
- Support Auth0 or Firebase Single Sign On (default is
auth0
). - Support expose prometheus metrics and database data like count of registerd users.
- Support install TLS certificates from Let's Encrypt automatically.
- Support QR Code Generator from shorten URL.
- Support local disk storage or Minio Object Storage.
- Support linux and windows container, see Docker Hub.
- Support integrate with Grafana service.
Requirement
Go version: 1.13
Start app using docker-compose
See the docker-compose.yml
version: '3'
services:
ggz:
image: goggz/ggz
restart: always
ports:
- 8080:8080
- 8081:8081
environment:
- GGZ_DB_DRIVER=sqlite3
- GGZ_SERVER_HOST=http://localhost:8080
- GGZ_SERVER_SHORTEN_HOST=http://localhost:8081
- GGZ_AUTH0_PEM_PATH=test.pem