Repositories
Delapan repo, satu produk, satu project Jira (DEF07). Halaman ini membandingkan semuanya; masing-masing punya halaman sendiri untuk detailnya.
Cara halaman ini diverifikasi
Versi dibaca pada 2026-09-15 dari manifest tiap repo (package.json, deno.json, go.mod, Pulumi.yaml). Branch model dibaca segar dengan git ls-remote --heads origin. Verifikasi ulang branch model sebelum mengedit — itu yang menentukan git workflow.
Perbandingan
| Repo | Peran | Stack | Versi utama | Branch di origin |
|---|---|---|---|---|
| backend | GraphQL + REST API, semua logic | NestJS, Apollo, TypeORM, Postgres | NestJS 10, @nestjs/graphql 12 | main, staging, development |
| storefront | Toko untuk pelanggan | Next.js, React, Apollo, NextAuth | Next 15.5.9, React 19.1, Tailwind v4 | main, staging, development |
| admin | Admin / CMS | Next.js, React, Apollo, NextAuth | Next 15.5.9, React 19.0, Tailwind v3 | main, staging, development |
| webhook | Penerima callback → SNS | Express 5, plain JS | Express 5.1, Node ≥ 20 | main only |
| simulator | Proxy + simulasi error untuk 3 API | Express 5, http-proxy | Express 5.1, http-proxy 1.18 | main only |
| data-migration | Import sekali pakai Sheets → Postgres | Deno, TypeScript | Deno, postgres 0.17 | main only |
| stresstest | Load test lewat browser | Go, playwright-go | Go 1.24.5, playwright-go 0.52 | main only |
| pulumi | Infrastruktur AWS | Pulumi, TypeScript, @pulumi/aws(x) | — | main only |
Checkout lokal ada di /Volumes/xpro/erisristemena/<stack>/<repo> (misalnya nestjs/def-exsport-backend), bukan di bawah www/.
Dua bentuk repo
- Environment-branch repos — backend, storefront, admin. Tiga permanent branch; branch work-item dipotong dari
origin/mainlalu di-merge ke tiap target dengan PR-nya sendiri. Hampir semua pekerjaan DEF07 mendarat di sini. - Single-branch repos — webhook, simulator, data-migration, stresstest, pulumi. Satu
main; commit langsung di situ, tanpa PR. Repo webhook tetap auto-deploy saat push; empat lainnya adalah tool atau infra, dijalankan manual.
Catatan yang perlu diingat
- Storefront pakai Tailwind v4, admin pakai Tailwind v3.
buildadmin menjalankantscdulu (tsc --project tsconfig.build.json && next build); storefront tidak, dantsconfig-nya punyastrict: false. - Di kedua frontend,
typescriptadalah dependency runtime (next startmemuatnext.config.ts). Jangan pindahkan kedevDependencies. - README di tiga repo utama hanya boilerplate bawaan framework — deskripsi peran di sini berasal dari file entry, bukan dari README.