# Dezen B2B portal

Wholesale ordering portal for Dezen (True Innovation DOO). Owner: Stevan.

## Source of truth
- `SPEC.md`: authoritative on behaviour, rules, data model and build phases. Read it fully before starting.
- `mockups/`: visual/layout reference only (see `mockups/README.md`; they are design-tool source, not runnable HTML). Where they conflict with SPEC.md, SPEC.md wins.
- §12 of SPEC.md is the decisions log. Append new decisions there, dated.

## How to work
- Build in the phases of SPEC.md §10, one at a time. Finish a phase with its feature tests passing and the acceptance check met, then stop and summarise for Stevan before the next phase.
- UI text in Serbian Latin; code, identifiers and comments in English.
- Ask Stevan when the spec is silent on a business rule; don't invent one. Technical choices are yours.
- Put the Laravel app in this folder (`D:\b2b-dezen`), keeping SPEC.md, CLAUDE.md and mockups/ at the root. Use git; commit at the end of each phase.

## Environment
- Local dev: Windows, Laravel Herd (PHP 8.5 locally; the app is Laravel 13, so production needs PHP 8.3+, and composer.json pins the platform to 8.3), Composer, Node. SQLite is fine locally; keep migrations MySQL/MariaDB-compatible because production is MySQL/MariaDB on shared cPanel hosting.
- Production: cPanel with SSH, no long-running workers (see SPEC.md §1). The final deliverable includes `DEPLOY.md` and a way to package the app for upload (composer install --no-dev, built assets, zip).

## Open items
