Grit Docsv3.114.0

Introduction

Welcome to the BusinessCopilot documentation. Learn how to build full-stack applications with Go and React.

What is Grit?

Grit is a full-stack meta-framework that fuses Go (Gin + GORM) with Next.js (React + TypeScript) in a monorepo. One command to scaffold a complete project with authentication, admin panel, database browser, and Docker setup.

Features

  • JWT Authentication — Register, login, refresh tokens, role-based access
  • Admin Panel — Full auth (login, sign-up, forgot-password), resource CRUD with DataTable, FormBuilder, ViewModal, toast notifications
  • Code Generatorgrit generate resource creates Go model, handler, service, Zod schemas, TypeScript types, React hooks, and admin page
  • Landing Page — SaaS marketing page with Framer Motion animations
  • GORM Studio — Visual database browser at /studio
  • Batteries Included — Redis cache, S3 storage, email (Resend), background jobs (asynq), cron scheduler, AI integration (Claude + OpenAI)
  • Shared Types — Zod schemas + TypeScript types shared between apps
  • Docker Ready — Dev and production Docker Compose setups
  • Upgrade Commandgrit upgrade updates existing projects to the latest scaffold templates
  • Self-Updategrit update updates the CLI itself to the latest release

Tech Stack

LayerTechnology
BackendGo + Gin + GORM
FrontendNext.js (App Router) + React
StylingTailwind CSS + shadcn/ui
DatabasePostgreSQL
CacheRedis
Queueasynq (Redis-based)
StorageS3-compatible (MinIO, R2, B2)
EmailResend
ValidationZod
Data FetchingReact Query (TanStack Query)
MonorepoTurborepo + pnpm

Next Steps

On this page