Go to file
mihir c93fe5ef6b
continuous-integration/drone/push Build is passing Details
fix: normalize record identifiers for stable retry scopes
2026-10-13 14:36:38 +05:30
.vscode fix drone 2026-05-29 06:54:18 +00:00
.yarn/sdks fix drone 2026-05-29 06:54:18 +00:00
docs fix: normalize record identifiers for stable retry scopes 2026-10-13 14:36:38 +05:30
public Initial commit 2026-05-25 16:10:05 +05:30
scripts feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
src fix: normalize record identifiers for stable retry scopes 2026-10-13 14:36:38 +05:30
test fix: normalize record identifiers for stable retry scopes 2026-10-13 14:36:38 +05:30
.dockerignore feat: connect existing storefront to Mani Candles backend 2026-10-11 22:45:47 +05:30
.drone.yml feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
.env.example feat: connect existing storefront to Mani Candles backend 2026-10-11 22:45:47 +05:30
.gitignore feat: connect existing storefront to Mani Candles backend 2026-10-11 22:45:47 +05:30
AGENTS.md feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
CHANGELOG.md feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
CONSTRAINTS.md feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
Dockerfile feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
README.md feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
components.json Initial commit 2026-05-25 16:10:05 +05:30
eslint.config.js feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
index.html Initial commit 2026-05-25 16:10:05 +05:30
nginx.conf feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
package-lock.json feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
package.json feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
tsconfig.json feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30
vite.config.ts feat: connect existing storefront to Mani Candles backend 2026-10-11 22:45:47 +05:30
vitest.config.ts feat: add commerce and access administration workflows 2026-10-13 14:28:29 +05:30

README.md

Mani Candles frontend

The existing ManiCandles site upgraded against the deployed Nest API. Its purple/gold design, branding, and marketing pages are retained. Phase 2 adds customer commerce, permission-gated administration, account recovery and enforced release checks.

Development

Use Node 24 and npm 11. The canonical lockfile is package-lock.json, matching the Docker npm workflow; the outdated Yarn lock/config were removed.

npm ci
npm run dev
npm run typecheck
npm test
npm run build

Open the printed local URL. Set your organization UUID on /connection, or set VITE_ORGANIZATION_ID in .env.local. Only the UUID is persisted; passwords and session tokens remain in memory. Existing approved staff sign in at /workspace. Navigation preserves the session; reloads discard it. Logout revokes the backend session.

Deployment

Development proxies /api to https://manicandles-backend.midastix.com. Docker Nginx provides the same HTTPS upstream with certificate verification, Authorization forwarding, and SPA deep-link fallback. HTTPS must terminate at the deployment ingress. vite preview is static preview only and does not provide the development API proxy.

docker build -t manicandles-frontend:uat .
docker run --rm -p 8080:80 manicandles-frontend:uat

The existing main-branch Drone pipeline deploys automatically on push. Work is on a feature branch; a local build is not deployment verification. Docker was unavailable locally for container verification.

Storefront list returns only id/name/slug; details return prices/attributes/groups. The API has no product-media fields, so catalog cards use a generic branded placeholder rather than assigning local photos to unknown records. Existing marketing imagery remains intact.

Addresses, cart/checkout, orders, catalog, access, stock, coupons and pricing tools are available after sign-in. Public registration and procurement/production/B2B tools remain subsequent phases. There is no contact-message endpoint; simulated success was replaced with an availability notice. Newsletter signup awaits consent/messaging flows.

See delivery phases and UAT evidence.

Phase 2 commands: npm run check runs lint, strict types, contract/component/workflow tests and the measured production build. Dependency security is checked with npm audit --audit-level=high in CI. See Phase 2 evidence and release checklist.

Set the backend RECOVERY_URL to your HTTPS frontend /reset-password route. Pending checkout and stock commands survive navigation within an active session; reload discards local credentials and intents. If interrupted, check orders/ledger before starting a new command.