seahaven-ap/README.md

29 lines
679 B
Markdown
Raw Normal View History

# Sea Haven AP
Internal accounts payable automation for Sea Haven Industries (`ap.seahaven.com`).
## Workspace layout
npm workspaces:
- `@seahaven-ap/web` — Vite/React SPA (repo root)
- `@seahaven-ap/shared` — payment ladder, invoice helpers, pay-date parsers, CSV constants ([`packages/shared`](packages/shared))
- `@seahaven-ap/api` — reserved for AP-14 (not present yet)
## Local development
```bash
npm ci
cp .env.example .env # optional; defaults already use mocks
npm run dev
```
App serves at http://localhost:3000. `VITE_USE_MOCKS=true` is the default data path until the API is wired (`src/mocks`).
## Verify
```bash
npm run verify
npm run test:e2e
```