docs(wiki): decide vision service packaging — apps/vision/ in the monorepo
Settle WHERE the host-side ANPR service lives and how it joins the build: in this monorepo at apps/vision/ (not a separate repo), still a separate OS process called over localhost HTTP, wired into the Turbo graph via a thin package.json shim whose scripts shell to Python tooling (uv/uvicorn/ruff/pytest). Co-located source honors the vision-service runtime+license isolation decision (AGPL reach is a linking boundary, not a folder); the fast-alpr MIT baseline removes most of the split-repo pressure anyway. New page vision-service-packaging; updates vision-service, opencv-anpr-service, the CLAUDE.md layout, index, log. Not built yet — packaging decision only. Claude-Session: https://claude.ai/code/session_01Xcm6ikLgGoCxxHrxtjkk5V
This commit is contained in:
@@ -17,7 +17,8 @@ parking-system/
|
||||
├── turbo.json
|
||||
├── apps/
|
||||
│ ├── server/ # Fastify backend (device drivers, API, auth); serves the SPA
|
||||
│ └── web/ # React + Vite SPA (operator UI)
|
||||
│ ├── web/ # React + Vite SPA (operator UI)
|
||||
│ └── vision/ # Python/FastAPI ANPR service (planned; separate process, Turbo shim — see wiki/decisions/vision-service-packaging.md)
|
||||
├── packages/
|
||||
│ ├── db/ # Drizzle ORM schema + migrations (SQLite local; PostgreSQL sync target)
|
||||
│ ├── devices/ # device adapters behind shared interfaces (reader/printer/relay)
|
||||
|
||||
Reference in New Issue
Block a user