feat: initialize license platform implementation
Some checks failed
Check / api (push) Has been cancelled
Check / web (push) Has been cancelled

Add the Go Gin backend skeleton, Vue frontend shell, health check, CI workflow, implementation docs, and static review demo.\n\nCo-Authored-By: Craft Agent <agents-noreply@craft.do>
This commit is contained in:
2026-09-30 14:30:36 +08:00
commit 3ab651d3a8
23 changed files with 3440 additions and 0 deletions

9
README.md Normal file
View File

@@ -0,0 +1,9 @@
# License platform implementation
First implementation slice: Gin API and Vue 3/Vite management shell. This is **not** the static mock in `demo/`; no login, issuance, database, order, or license validation is implemented yet.
Prerequisites: Go 1.23+, Node 20+. From `backend`, run `go run ./cmd/server`. From `frontend`, run `npm ci` and `npm run dev`. Visit http://127.0.0.1:5173/ (Vite proxies `/api` to the Go server at 127.0.0.1:18080). Set `HTTP_ADDR` to override the Go listen address; update the Vite proxy when changing API port.
Checks: `go test ./...` from `backend`, `npm run build` from `frontend`. `/api/v1/health/live` reports only process liveness and does not prove database readiness. No secret is committed; `.env.example` is documentation only.
Before implementing binding and issuance: decide the licensed Web product, instance identity across container recreation/replicas and its integration owner. Confirm the remaining ADRs in `软件授权与统一管理平台-架构决策与MVP验收规格.md`.