O
OmniStack
ComponentsDocsPricing
YouTubeLinkedInWebsiteGitHubGet Started
IntroductionQuick StartInstallation
AuthenticationPaymentsUI ComponentsMediaFormsE-Commerce
Next.jsExpoGo
Back

Grit

Full-stack meta-framework that fuses a Go backend (Gin + GORM) with a Next.js + React frontend in a single monorepo. One CLI command scaffolds JWT auth, a Filament-like admin panel, GORM Studio, Docker Compose (PostgreSQL, Redis, MinIO, Mailhog), file storage, email, background jobs, cron, caching, and AI integration. Includes a code generator that creates Go models, API handlers, React Query hooks, Zod schemas, and admin pages all at once.

GoFrameworks
View Full Documentation

What's Included

CLI Scaffolder (grit new)
Full-Stack Code Generator (grit generate resource)
Type Sync — Go Structs to TypeScript & Zod
JWT Auth with Role-Based Access Control
Filament-like Admin Panel
GORM Studio (Visual DB Browser)
File Storage (S3, R2, MinIO)
Email System (Resend + HTML Templates)
Background Jobs & Cron (Redis + asynq)
Redis Caching Middleware
AI Integration (Claude & OpenAI)
Docker Compose Dev Setup

Installation

terminal
$ go install github.com/MUKE-coder/grit/cmd/grit@latest

How to Use

1

Install the CLI

Install the Grit CLI globally using Go. Requires Go to be installed on your system.

go install github.com/MUKE-coder/grit/cmd/grit@latest
2

Scaffold a new project

Create a full monorepo with Go API, Next.js frontend, admin panel, and shared packages. Use --api for backend only.

grit new myapp
3

Start infrastructure & dev servers

Launch PostgreSQL, Redis, MinIO, and Mailhog via Docker, then start the Go API and Next.js frontend.

cd myapp
docker compose up -d
cd apps/api && go mod tidy && go run cmd/server/main.go
# In another terminal:
cd myapp && pnpm install && cd apps/web && pnpm dev
4

Generate a resource

Use the code generator to scaffold a full-stack CRUD resource — Go model, API handler, React Query hooks, Zod schema, and admin page.

grit generate resource Post --fields "title:string,content:text,published:bool"
Free
Open source component

Free to use · MIT License

CategoryFrameworks
PlatformsGo
Features12
Resources
Component DocsOmniStack Docs