Files
pargar/README.md
T
ahp 5b9b2a16e6 docs: add product overview and engineering documentation
Document architecture, security, deployment, and development for contributors.
2026-10-07 19:40:26 +03:30

2.1 KiB

Pargar

A gated LMS for bootcamps: verified watch → quiz with hearts → skill-tree unlock → mentor chat, events, weekly league, monthly challenges, and certificates.

Layer Stack
API Go 1.27+ · Postgres · Redis · S3/RustFS · WebSocket
UI Next.js 15 · React Query · Tailwind · Vazirmatn FD
Edge Traefik v3.7 (Compose and k3s)

Quick start (local)

cp .env.example .env          # fill in real secrets
./scripts/compose-dev.sh up -d --build

k3s:

./scripts/k3s-load-images.sh
./scripts/helm-k3s.sh
curl -k https://pargar.local/api/health

Deployment details: docs/deployment.md

Documentation

Doc Contents
docs/README.md Doc index and reading map
docs/architecture.md System architecture and data flow
docs/product.md Student / admin paths and features
docs/development.md Development, tests, code conventions
docs/deployment.md Compose · Helm/k3s · production
docs/security.md Auth, secrets, rate limits, uploads
docs/operations.md Backup, metrics, troubleshooting
docs/api.md API contract and key routes
docs/configuration.md Environment variable reference

Domain summary for agents: CONTEXT.md

Repository layout

backend/          Go API, migrations, seed, media/sample.mp4
frontend/         Next.js App Router
deploy/           Compose + Traefik + Helm chart
scripts/          compose / k3s / backup / regenerate-sample
docs/             engineering documentation

Tests

cd backend && go test ./internal/api/... ./internal/config/...
cd frontend && bunx tsc --noEmit

License

This project is released under the GNU Affero General Public License v3.0 (AGPL-3.0).