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 Generator —
grit generate resourcecreates 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 Command —
grit upgradeupdates existing projects to the latest scaffold templates - Self-Update —
grit updateupdates the CLI itself to the latest release
Tech Stack
| Layer | Technology |
|---|---|
| Backend | Go + Gin + GORM |
| Frontend | Next.js (App Router) + React |
| Styling | Tailwind CSS + shadcn/ui |
| Database | PostgreSQL |
| Cache | Redis |
| Queue | asynq (Redis-based) |
| Storage | S3-compatible (MinIO, R2, B2) |
| Resend | |
| Validation | Zod |
| Data Fetching | React Query (TanStack Query) |
| Monorepo | Turborepo + pnpm |
Next Steps
- Getting Started — Install Grit and create your first project
- CLI Commands — All available CLI commands
- Admin Panel — Dashboard, auth, and resource management
- Authentication — How the JWT auth system works
- Batteries — Cache, storage, email, jobs, cron, and AI