phase 6 เบื้องต้น

This commit is contained in:
Suphonchai Phoonsawat 2026-08-20 06:20:16 +07:00
parent 1bb850c6b8
commit 93570d38d8
20 changed files with 1715 additions and 34 deletions

9
web/.env.example Normal file
View file

@ -0,0 +1,9 @@
# ค่า default ของ local dev อยู่ใน nuxt.config.ts (runtimeConfig.public) — ไฟล์นี้ใช้ override ผ่าน env
# คัดลอกเป็น .env แล้วแก้ได้เลย (Nuxt อ่าน NUXT_PUBLIC_* อัตโนมัติ)
# backend API (ไม่มี slash ท้าย)
NUXT_PUBLIC_API_BASE_URL=http://localhost:5075
# Keycloak realm (ผ่าน https:8443 ด้วย cert ของ office-addin-dev-certs)
NUXT_PUBLIC_KEYCLOAK_AUTHORITY=https://localhost:8443/realms/word-versioning
NUXT_PUBLIC_KEYCLOAK_CLIENT_ID=word-versioning-web