ai-assisted-todolist

CLAUDE.md — backend#

Backend-specific guidance for the Quarkus service under /backend. Read together with the repository root CLAUDE.md (ask-don't-guess, TDD, DDD, and project context all still apply here).

Testing strategy#

TDD#

Every backend change — unit or integration level — starts with a failing test. Write the test, watch it fail for the right reason, then implement. Don't write backend production code without a test driving it first.

Code quality tooling#

Coding style#

Magic strings#

Database access#

Input validation#

Constraints are the schema. SmallRye turns Jakarta Bean Validation annotations into the published JSON Schema, and the frontend compiles that schema into the validators it checks every response with, so an annotation here is enforced in the browser as well as on the wire.

Database migrations#

Logging#

Metrics#

Java / build#

Container image#

Documentation#