# CLAUDE.md Co-Lite: event CRM for a single company (multi-company SaaS later), cloned from Tastefully (`~/Projects/tastefully`, Solvway platform) with the MLM modules dropped and a rebuilt Next.js admin portal. ## Start Here - `docs/feature-list.md` — feature list, decisions made so far, open questions. - `openspec/` — specs and active changes. Specs drive implementation. ## Status Pre-design. No code has been ported yet. Repo layout, module list and the porting approach are decided in the first brainstorm, then recorded as an OpenSpec change. ## Fixed Decisions - Admin portal is rebuilt in Next.js, modelled on babyboo's `solvway-admin-portal`. The Tastefully Thymeleaf backoffice is reference only: read it for business rules, never deploy or extend it. - Admin screens call JSON admin APIs (`/api/admin/**`) in `mobile-api`. - New tables carry a company id so a later multi-company move is a migration, not a rebuild. - When porting a module, list the old screen's business rules first and turn them into tests before building the new screen. - Exception to the SQL-placement rule: runnable local seed files live in `local/seed/` (loaded by docker-compose on an empty volume). Schema and DDL changes for real environments still go in the OpenSpec change folder. - Never copy Tastefully customer data (members, users, attendance, orders) into this repo or a local database. Seeds use schema-only and reference-table dumps.