Gymkhana developer documentation

Documentation for deploying and integrating with Gymkhana — REST APIs, OpenAPI, custom entities, custom analytics, and self-host. Gym owners should see product guides; OSS contributors see architecture docs.

MCP & integrator APIsComing soon

Agent tools and REST v1 integrator docs — in progress.

Quick Start

# Clone and setup
git clone https://github.com/gymkhana-fitness-360/gymkhana.git
cd gymkhana
npm install
cp .env.example .env
npx prisma migrate dev
npm run dev

Base URL

https://app.gymkhana.fit/api

Tech Stack

Next.js 14+
App Router, Server Components
TypeScript
Strict mode, full type coverage
Prisma ORM
Type-safe database queries
PostgreSQL
Primary database
NextAuth.js
Authentication & sessions
Tailwind CSS 4
Utility-first styling
shadcn/ui
Accessible UI components
Zod
Runtime validation