Orkestrasi ada di halort-infra. Port berasal dari scripts/stack-config.cjs.

Setup sekali

cd halort-infra && npm install   # juga menginstal deps saudara via setup
 
cd ../halort-platform && cp .env.example .env
bun install && bun run db:generate && bun run db:push && bun run db:seed
 
cd ../halort-platform-web && cp .env.example .env.local && npm install
# Opsional notifikasi: cd ../halort-notification-service && npm run setup:local

Jalankan core stack

cd halort-infra
npm run dev          # web :3000, API :4000, platform-web :3001, Storybook :6006
npm run dev:gp2      # sama + tenant GP2 → http://localhost:3001/pasar
npm run dev:notifications   # opsional :8090

Platform-web menunggu http://127.0.0.1:4000/api/health sebelum siap.

URL lokal

LayananURL
Marketinghttp://localhost:3000
Platform webhttp://localhost:3001
API health / Swaggerhttp://localhost:4000/api/health · /swagger
Storybookhttp://localhost:6006
Notifikasihttp://127.0.0.1:8090/health
Docs (Quartz)cd halort-docs && npx quartz build --serve → :8080

Host subdomain opsional

127.0.0.1 halort.test gp2.halort.test

Set HALORT_DOMAIN=halort.test (dan env central-domain terkait) di API/web untuk tenancy subdomain. Lihat Multi-tenancy · Concepts/Pasar GP2.

Terkait