Files

1.5 KiB

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

Phase 1 design: docs/superpowers/specs/2026-11-26-co-lite-foundation-and-leads-design.md. Change 1 (add-repo-foundation-local-stack) ports the kept Tastefully modules and portals and adds the local stack; see local/README.md to run it.

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.