Open-sourced Go and Next.js B2B SaaS Starter
The author has open-sourced the full-stack engine that powers their B2B product, apflow.co, which includes a Go backend and Next.js frontend, both fully Dockerized.
Why it matters
This open-source starter provides a production-ready, vendor-neutral foundation for building B2B SaaS applications.
Key Points
- 1Production-ready B2B starter with Go backend and Next.js frontend
- 2Fully Dockerized with separate containers, deployable on any Linux box
- 3Modular Monolith architecture with isolated Go modules for features
- 4Includes pre-built solutions for Auth, Billing, AI, OCR, and File Storage
Details
The author wanted to create a SaaS starter that didn't lock them into a specific platform or vendor-specific APIs. The Go backend provides a small footprint, concurrency without complexity, compile-time type safety, and predictable performance. The Modular Monolith architecture allows for clean separation of features like Auth, Billing, and AI, making it easier to work with AI coding tools. The full-stack solution includes a Go backend with Gin, SQLC, and PostgreSQL, and a Next.js 16 frontend with React 19, Tailwind, and shadcn/ui. The infrastructure is fully Dockerized, allowing for flexible deployment options.
No comments yet
Be the first to comment