5fbf30a70bcf304dc54389bea2d466aa56ed4003
Ship realtime mentor messaging and staff control panels for curriculum, users, and registration gates.
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
- App: https://localhost (Traefik default cert → one browser warning is expected)
- Traefik dashboard: http://127.0.0.1:8088
- Health:
curl -k https://localhost/api/health
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).
Languages
TypeScript
58.1%
Go
40.3%
CSS
1%
Shell
0.2%
Go Template
0.2%
Other
0.1%