Hey Gophers!
Iβm excited to share GRAB (Go REST API Boilerplate) β a production-ready REST API starter built specifically for the AI-assisted development era.
Unlike traditional boilerplates, GRAB includes built-in AI guidelines for GitHub Copilot, Cursor, Windsurf, and JetBrains AI, so your AI assistant actually understands your architecture from day one. It features OAuth 2.0 BCP-compliant JWT auth with refresh token rotation, many-to-many RBAC, Clean Architecture (Handler β Service β Repository), golang-migrate for versioned SQL migrations, 90% test coverage, Docker hot-reload in 2 seconds, and comprehensive Swagger docs. One command (make quick-start) gets you from clone to running API in 90 seconds with PostgreSQL, authentication, health checks, and CI/CD ready to go.
Check it out: GRAB
GRAB follows the official Go project layout and battle-tested patterns from Gin, GORM, and production services. Itβs been actively developed since October 2025 with v2.0.0 just released featuring RBAC, graceful shutdown, centralized configuration with Viper, structured error handling, and production-grade health checks (Kubernetes-ready). Whether youβre shipping MVPs fast, standardizing team patterns, learning modern Go, or building with AI-first workflows, GRAB saves you 6-8 weeks of boilerplate setup.
Contributions are welcome! If you find it useful.
Please give it a
on GitHub β it helps others discover the project. Would love to hear your feedback and see what you build with it! ![]()
#GO #BOILERPLATE #AI #GORM #DOCKER
