Enterprise Go platform
API + admin panel, one binary
Hexagonal architecture, bounded contexts, and sqlc on PostgreSQL. Auth, RBAC, notifications, payments, and audit included.
Features
Identity & security
JWT (access/refresh rotation), MFA TOTP, OAuth (Google/GitHub), Turnstile, login lockout, IP rate limit.
Dynamic RBAC
Roles and permissions in the database; API and panel protected with RequirePermission.
Notifications
In-app, SMS (Netgsm/İleti Merkezi), email; single and bulk send (JSON, CSV, Excel).
Payments
Iyzico and Moka 3DS, BIN lookup, webhooks, transaction list, and panel checkout.
i18n
tr/en locale support across Problem Details, validation, and panel strings.
OpenAPI
Swagger UI (/docs) and OpenAPI 3.1 contract for REST API reference.
Architecture
domain ← application ← adapters. Infrastructure stays outside; bootstrap is the composition root. HTTP JSON API and GoUI panel share the same application services.
Quick start
PostgreSQL, migrate, seed, and server — up in minutes in development.
cp .env.example .env
go run ./cmd/migrate up
go run ./cmd/seed
go run ./cmd/server