Open source · MIT · Built by Desishub

The meta-framework we builtand ship every product on

Grit Framework scaffolds a Go API + React frontend + admin panel + offline-first desktop and mobile apps from one command. Auth, OAuth, file storage, jobs, AI, observability — wired up, hardened to OWASP 2025, ready for production. We open-sourced it so every developer in Africa starts from the same line we do.

MIT · Open source
License
7 starters
Tech kits
6 in production
Live products
Desishub Technologies
Author

Grit Framework is the open-source full-stack meta-framework Desishub built and ships every production app on. It generates a Go API, a React frontend (Next.js or Vite + TanStack Router), an admin panel, an Expo mobile app, and / or a Wails desktop app from a single CLI command — with authentication, file storage, background jobs, AI, and an observability stack already wired up. Free, MIT licensed, used in production across Shoppleet, FundPier, HMK Living, Connect-ISP, and Kayula Motors.

Seven tech kits

Pick a starter. Run the CLI. Ship.

Each kit is a preset combination of platforms. They all share the same auth, observability, and security defaults.

Single (Go + Embedded SPA)

One binary. Your React frontend embedded in the Go server — the simplest possible deploy.

Web
grit new my-app --single

Single (Vite + TanStack Router)

Same single-binary feel with the Vite + TanStack Router toolchain on the frontend.

Web
grit new my-app --single --vite

Double (Web + API)

Two apps in a Turborepo: a public Next.js frontend talking to a separate Go API. The split most SaaS startups grow into.

WebAPI
grit new my-app --double

Triple (Web + Admin + API)

Marketing site, Filament-style admin panel, and Go API — all in one monorepo. The kit we use for client products.

WebAdminAPI
grit new my-app --triple

API (Headless Go)

Bring your own frontend. Just the Go API — auth, jobs, storage, observability included.

API
grit new my-app --api

Mobile (Expo + API)

React Native via Expo with a Go backend. Generated types front and back so you never re-type a payload.

MobileAPI
grit new my-app --mobile

Desktop (Wails + GORM)

Offline-first SQLite desktop apps with a frameless window and Go-native performance. Powers our Shoppleet desktop POS.

Desktop
grit new-desktop my-app
Batteries included

The stuff you usually rebuild — already done

Every kit ships with these. No bolt-ons, no extra setup.

Authentication out of the box

JWT + OAuth2 with 2FA, session management, password resets, and optional drop-in for WorkOS / Auth0 / Clerk for enterprise SSO.

AI Gateway

Hit 100+ models (OpenAI, Claude, Gemini, etc.) through one signed proxy. Built-in usage limits and cost tracking.

File storage (S3 / R2 / MinIO)

Presigned uploads, image processing, antivirus hooks. Swap the bucket provider with one env var.

Background jobs

asynq queue, retries, scheduling, dead-letter inspection. Drop a job from any HTTP handler.

Offline-first sync

Conflict resolution baked into the Wails desktop and Expo mobile kits. Tills and inventory apps keep working when the internet drops.

OWASP-2025 hardened

Rate limiting, secure headers, CSP, signed cookies, SQL-injection-safe ORM, audited dependencies. Production defaults are safe defaults.

Tamper-evident audit log

Every privileged action is recorded with a hash chain. Useful for fintech, compliance, and any system you'd be asked to forensically prove later.

Feature flags + A/B testing

Roll out features per tenant, per role, or as percentage gradients. Built-in metrics for variant performance.

The full stack

What you get when you run the CLI

Backend
GoGinGORMasynqDocker
Frontend
Next.jsViteTanStack RouterTanStack QueryReact
Mobile + Desktop
ExpoReact NativeWailsSQLite (offline)
Data + Infra
PostgreSQLRedisS3 / R2 / MinIOResend
Security + Auth
JWT + OAuth22FAWorkOS / Auth0 / ClerkOWASP-2025

Frequently asked questions

Start with Grit today

MIT licensed, free for commercial use. Open the docs and run your first command — or have Desishub build the product for you.

Transform your business
with modern technology

See why Desishub is the technology partner of choice for innovative businesses across East Africa.

Proven

Track record

400+

Students Trained

99.9%

Uptime