vergo

SaaS starter em Go: multi-tenant, RBAC, JWT, Postgres, sqlc, CI

goboilerplatejwtmulti-tenantpostgresqlsaasrbacsqlc
FreeRepo

Preview

vergo preview

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

โญ Stars
1
๐Ÿด Forks
0
๐Ÿงพ License
mit
๐Ÿ”„ Active
Yes
๐Ÿ•’ Last Commit
2025-10-23T21:55:49.000Z
GitHub

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
Get Started with this Boilerplate