Unigox API Gateway
Description
Project Structure
api/
├── internal/
│ ├── handler/ # HTTP handlers and routing
│ ├── models/ # Data models and configuration
│ ├── repository/ # Repositories (placeholder for future use)
│ └── service/ # Business logic and proxy service
├── pkg/
│ └── logger/ # Zap logger
├── docs/ # Swagger/OpenAPI documentation
└── main.go # Entry pointConfiguration
Setup Environment Variables
Maintaining .env.example
Running
API Endpoints
Health Check
Currencies Service (proxied to currencies service)
Offers Service (proxied to offers service)
Swagger/OpenAPI Documentation
Local Viewing
Publishing to GitHub Pages
Updating Documentation
Usage Examples
Get Currency Rates
Convert Currency
Get Payment Methods List
Get Payment Methods for USD
Development
E2E Testing
Last updated
