§01
Overview
- What it is: cashback platform for Insurance group (UZ) (insurance company, Uzbekistan). 5 apps (admin, api, web, miniapp, queue) on a Bun monorepo. Built on the user's personal boilerplate — README is identical to the "Fullstack Monorepo Boilerplate" from
rentcar/runner. - Type / status / role: web-app + Telegram miniapp (monorepo) / active / contributor — Nuriddinkhuja 138 commits (main domain logic), user Davron — 24 commits (Dave93 13 + Davron 11): initial scaffold on his boilerplate + AI features + upgrades (Next).
- Active period: 2025-11-22 → 2026-02-11 (~3 months), 162 commits.
§02
Stack
- Languages: TypeScript, Bun.
- **Monorepo (Turborepo + Bun,
@workspace/*):** apps/: admin, api (Elysia 1.4), web (Next.js + Better Auth), miniapp (Telegram mini-app), queue (BullMQ + ioredis).packages/: auth (Better Auth + RBAC), cache (Redis), cli, db (Drizzle/Postgres), email, entities, ui (shadcn), eslint/ts-config.- Key: Eden Treaty E2E types, i18n (ru/en/uz), interactive CLI — all inherited from user's boilerplate. BullMQ queue (cashback accrual / notifications).
- Infra: Turborepo,
.mcp.json,.env.example.
§03
What was shipped
- Main cashback domain logic — Nuriddinkhuja (138 commits): business rules for accruals, admin, web/miniapp UI.
- User's contribution (24 commits): bootstrapped the project on his fullstack boilerplate (initial scaffold), later —
91f84c3 «ai features session»(+347 lines, AI functionality),2d6674b «update next», port fixes/merges. Essentially — platform foundation + AI layer. - ⚠️ User's commit hygiene is low: "removed fuck", "ddd", "dfdf", "ssss", "dgfgfdg" — non-representative messages (for the brand — don't show history as-is).
§04
Technical challenges
Confirmed by structure/manifests.
- Reuse of own boilerplate in a real client product → proof that personal starter (
rentcar/fullstack_mono) works in practice: 5 apps spun up in ~3 months. Strong argument: "I codified the stack and ship products on it." - Telegram mini-app + queue → miniapp for cashback users + BullMQ worker for background accruals / notifications.
- AI features (
91f84c3, +347) → user added AI functionality (requires reading for details; session export —sahovat_cashback_ai.txt, 24 KB). - Main domain complexity (cashback rules) — *authored by Nuriddinkhuja*.
§05
AI-assisted development
- Sessions found: session directory exists, but 0 `.jsonl` transcripts.
- Indirectly: at the repo root
sahovat_cashback_ai.txt(24 KB) — looks like an AI session export (user's commit "ai features session")..mcp.json+CLAUDE.md(22 KB) — AI-assisted development. - AI workflow patterns: user added AI features in a separate session; details in
sahovat_cashback_ai.txt.
§06
Achievements & metrics
- 5 apps in one monorepo in ~3 months (162 commits).
- Real client — Insurance group (UZ) insurance; cashback + Telegram miniapp.
- User's contribution: ~15% of commits (foundation + AI).