vergo
SaaS starter em Go: multi-tenant, RBAC, JWT, Postgres, sqlc, CI
goboilerplatejwtmulti-tenantpostgresqlsaasrbacsqlc
FreeRepo
Overview
Vergo is an open-source Go boilerplate for building multi-tenant SaaS applications, featuring a layered architecture with JWT authentication, role-based access control, PostgreSQL persistence, Docker Compose setup and GitHub Actions CI/CD. It includes audit logging, webhook support, Stripe billing integration, S3 file storage and OpenTelemetry observability, designed to serve as a production-ready foundation for modern web applications.
Features
multi-tenant architecturerbac (role-based access control)jwt authentication with refresh tokensaudit loggingwebhooksstripe billing integrations3 integrationopentelemetry observabilitydocker compose setupgithub actions ci/cdorganization managementmembership managementtenant middleware
Feature Flags
userDashboardauthenticationsubscriptionsinvoicespaymentsfileUploadsstorageauthorizationteamsOrgsloggingErrorTrackingwebhooksapiDocsmapsmultitenancyauditLogging
Recommended Use Cases
saas applicationsmulti-tenant platformsapi backendsmicroservices
Frontend
None
Backend
goginpostgresqlsqlc
Auth Providers
jwt
Deployment Targets
dockerawsaws-ecsaws-fargate
Payment Providers
stripe
Quick Facts
Stack
Framework
gin
Language
go
Database
postgresql
Auth
jwt
ORM
sqlc
Monitoring
opentelemetry
CI
github-actions
Data Layer
Databases
postgresql
ORM
sqlc
UI Stack
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
github-actions
Pricing
Classification
free
Selected
โ
Notes
Open source boilerplate