본문으로 건너뛰기

© 2026 Molayo

HN중요요약2026. 04. 24. 12:27

Go & Next.js 기반 엔터프라이즈급 B2B SaaS 스타터 템플릿 공개

요약

본 프로젝트는 진지하게 사업을 시작하는 창업가들을 위해 Go와 Next.js를 결합한 엔터프라이즈급 B2B SaaS 보일러플레이트를 오픈소스로 공개했습니다. 최신 기술 스택(Next.js 16, React 19, TypeScript v5.7.3)과 고성능 백엔드(Go 1.25, Gin)를 결합하여 개발자 경험을 극대화했습니다. Stytch 인증, Polar.sh 결제 시스템 통합은 물론, pgvector 기반의 RAG 파이프라인, Mistral OCR 서비스 연동까지 갖추어 즉시 상용 제품 개발에 투입할 수 있는 완성도를 자랑합니다

핵심 포인트

  • 최신 스택 활용: Next.js 16 (App Router)와 React 19를 기반으로 하며, TypeScript v5.7.3을 통해 엔드투엔드 타입 안정성을 확보했습니다.
  • 강력한 백엔드 아키텍처: Go 1.25와 Gin 프레임워크를 사용하고, PostgreSQL과 SQLC를 결합하여 ORM 없이 안전하고 고성능의 백엔드를 구축했습니다.
  • B2B 필수 기능 완비: Stytch를 통한 SSO/OAuth 인증, Polar.sh 기반 구독 관리 및 청구 시스템을 기본 탑재했습니다.
  • AI 및 데이터 처리 준비 완료: pgvector를 활용한 RAG 파이프라인과 OpenAI API, Mistral AI OCR 서비스를 통합하여 지능형 기능을 즉시 구현할 수 있습니다.

The Enterprise-Grade SaaS boilerplate for serious founders. Built with Next.js 16 and Go 1.25.

  • Next.js 16 (v16.0.10) Modern React framework with App Router and API routes.
  • React 19 (v19.2.3) Latest React with improved performance and concurrent features.
  • TypeScript (v5.7.3) Type-safe JavaScript for enhanced developer experience.
  • Tailwind CSS (v3.4.17) Utility-first CSS framework for rapid UI development.
  • shadcn/ui + Radix UI Accessible component library with 29+ pre-built components.
  • TanStack Query (v5.90.5) Powerful data fetching and state management.
  • Zustand (v5.0.8) Lightweight state management for UI state.
  • react-hook-form + Zod Type-safe forms with schema validation.
  • Stytch Enterprise authentication with magic links, OAuth, and SSO.
  • Polar.sh Billing integration and subscription management.
  • Recharts Composable charting library for data visualization.
  • Go 1.25 High-performance, concurrent backend with excellent tooling.
  • Gin Fast HTTP web framework with middleware support.
  • PostgreSQL with pgvector Reliable relational database with vector similarity search.
  • SQLC Type-safe SQL compiler for Go (no ORM).
  • Stytch B2B Enterprise authentication, SSO, and RBAC.
  • Polar.sh Merchant of Record for subscriptions, invoicing, and global tax compliance.
  • OpenAI API LLM integration with RAG pipeline and vector embeddings.
  • Mistral AI OCR service for document data extraction.
  • Cloudflare R2 Object storage for file management.
  • Docker + Docker Compose Containerization for consistent environments.
  • Authentication: Sign in with Magic Link, Google OAuth, and Enterprise SSO.
  • Multi-Tenancy: Built-in Organization support with strict data isolation.
  • Roles & Permissions: Granular RBAC system with 3 roles (Member, Manager, Admin) and 7 permission types.
  • Billing & Subscriptions: Complete integration with Polar.sh for SaaS pricing models.
  • AI & RAG: Ready-to-use vector embeddings pipeline for AI features.
  • OCR Service: Extract structured data from valid documents instantly.
  • Team Management: Invite members, manage roles, and update settings.
  • Responsive Design: Mobile-first UI built with Tailwind CSS and shadcn/ui.
  • Type Safety: End-to-end type safety from database (SQLC) to frontend (TypeScript).
  • Audit Logs: Complete audit logging system for tracking user activities.
  • Webhooks UI: Customer-facing webhook configuration.
  • Advanced Analytics: Built-in charts and usage tracking.

Please follow these simple steps to get a local copy up and running.

  • Docker & Docker Compose
  • Go 1.25+
  • Node.js 20+ & pnpm

Run this command to configure your keys and start the infrastructure:
chmod +x setup.sh && ./setup.sh

Manual Start:

  • Backend:
    cd go-b2b-starter && make dev
  • Frontend:
    cd next_b2b_starter && pnpm dev
  • Visit: http://localhost:3000

Important
See SETUP.md for quick setup or DEVELOPMENT.md for comprehensive guidance including multi-platform prerequisites, troubleshooting, and daily workflow tips.

Although this kit is self-service, I help ambitious founders move faster.
I can help you with:

  • Managed Config: I sets up your AWS/GCP production environment so you never touch DevOps.
  • Custom Features: Need SAML SSO or complex RAG flows? I'll build them directly into your repo.
  • Code Audits: Migrating from Node/Python? I'll review your architecture for scale.

AI 자동 생성 콘텐츠

본 콘텐츠는 HN AI Engineering의 원문을 AI가 자동으로 요약·번역·분석한 것입니다. 원 저작권은 원저작자에게 있으며, 정확한 내용은 반드시 원문을 확인해 주세요.

원문 바로가기
3

댓글

0