API Gateway microservice for the MiniSource platform. Powered by Traefik and Go backend service for routing, rate limiting, access control, and centralized entry point.
- Traefik Reverse Proxy & Load Balancing
- Go Backend API Gateway Service
- JWT & Service Token Authentication Forwarding
- CORS & Security Headers
- Rate Limiting & Request Throttling
- Prometheus Metrics & Health Checks
- Automated CI/CD & Docker Publishing
Published to Docker Hub:
minisource/gateway:v1.0.1minisource/gateway:latest
docker pull minisource/gateway:v1.0.1gateway/
├── backend/ # Go API Gateway Service (Go 1.24)
│ ├── cmd/
│ ├── internal/
│ └── Dockerfile
├── Traefik/ # Traefik configuration files
├── docker-compose.yml
├── go.mod
└── .github/workflows/ # CI/CD workflows
cd gateway
docker compose up -dcd gateway/backend
go run ./cmd/server| Variable | Description | Default |
|---|---|---|
PORT |
Gateway HTTP Port | 8000 |
ENV |
Environment (development/production) |
development |
AUTH_SERVICE_URL |
Auth Microservice URL | http://auth-backend:9001 |
NOTIFIER_SERVICE_URL |
Notifier Microservice URL | http://notifier-backend:9002 |
Automated by GitHub Actions:
- Build & Test:
go vetand test execution on every commit. - Docker Release: Builds and pushes Docker image to
minisource/gatewayon tag push (v*).