feat(POS-006): completed feature
This commit is contained in:
13
work/artifacts/POS-006/architect.md
Normal file
13
work/artifacts/POS-006/architect.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# POS-006 — Architect
|
||||
|
||||
## Feature
|
||||
POS Phase 1 ticket 006: `apps/pos` Next.js application skeleton.
|
||||
|
||||
## Objetivo
|
||||
Create the `apps/pos` Next.js app with: package.json, next.config.ts, tsconfig.json, Tailwind, root layout, auth login page, API proxy route, middleware, POS API client, permissions, money utils, idempotency utils, terminal page shell.
|
||||
|
||||
## Diseño
|
||||
- Next.js 15 App Router; route groups (auth) and (terminal)
|
||||
- Middleware enforces session cookie; redirects to /login if absent
|
||||
- API proxy: `/api/[...path]` proxies to backend preserving cookies + terminal header
|
||||
- No server-side DB; all data via API
|
||||
Reference in New Issue
Block a user