No description
Find a file
Jérémy Munsch b62e15efc2
feat(product): add GetProductIncoForEditQuery and related classes
Implement GetProductIncoForEditQuery, its input and output classes to handle product INCO data retrieval.
Update ProductIncosController to utilize the new query for editing product INCOs.
Add tests for GetProductIncoForEditQuery to ensure correct behavior.
2026-11-15 19:47:32 +01:00
.gitlab/issue_templates refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
.intellipest refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
.vscode chore(vscode): clean up PHP configuration settings 2026-10-27 09:58:57 +01:00
app feat(product): add GetProductIncoForEditQuery and related classes 2026-11-15 19:47:32 +01:00
bootstrap fix(middlewares): handle guest and auth redirects correctly 2026-11-15 16:45:04 +01:00
config feat(policy): implement customer order limit policy with config values 2026-11-15 19:39:35 +01:00
database refactor(storage): migrate media models, basket value objects and CQS actions to S3 2026-11-15 16:44:58 +01:00
domain fix(product): adjust orderable end condition to include equality 2026-11-15 19:43:45 +01:00
infra/Adapters fix(pickup-exception): change date comparison to include start date 2026-11-15 18:57:31 +01:00
lang fix(auth): prevent registration on already assigned employee 2026-11-15 16:45:02 +01:00
public refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
resources feat(products): enhance product form data with additional fields 2026-11-15 16:45:00 +01:00
routes security(contact): throttle contact submissions and idempotently delete S3 attachments via SendContactMailJob 2026-11-15 16:45:03 +01:00
shared fix(orders): serialize order finalization with distributed lock via #[Locked] attribute 2026-11-15 16:45:01 +01:00
storage Gestion des erreurs d'import xml pour données inconsistentes 2021-07-28 11:43:26 +02:00
tests feat(product): add GetProductIncoForEditQuery and related classes 2026-11-15 19:47:32 +01:00
.browserslistrc fix: update browserslist to exclude Firefox versions < 100 2026-10-27 09:58:16 +01:00
.dockerignore refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
.editorconfig refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
.env.example refactor(env): update session and Redis configuration 2026-11-15 16:44:55 +01:00
.gitattributes refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
.gitignore refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
.gitlab-ci.yml build: fix build npm-security 2026-10-27 13:53:22 +01:00
.jsconfig.json ranges page 2022-10-05 16:41:09 +02:00
.styleci.yml refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
.stylelintrc.json refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
artisan init 2020-10-30 17:26:00 +01:00
bun.lock chore(deps): remove overrides for js-yaml, glob, and minimatch 2026-11-02 15:36:27 +01:00
CHANGELOG.md refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
commitlint.config.cjs refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
composer.json chore: add linting command to composer scripts 2026-11-15 16:45:00 +01:00
composer.lock feat(storage): add S3 disks, temporary file factory and image optimizer service 2026-11-15 16:44:58 +01:00
Dockerfile build fix docker image 2026-10-27 13:55:27 +01:00
eslint.config.js refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
k8s-queues.sh feat: Clean and add CICD for K8S migration 2025-01-24 15:32:29 +01:00
manifest.yaml refactor(infra): configure PVC-less volumes, /tmp purifier cache and S3 CSP headers 2026-11-15 16:44:57 +01:00
package.json chore(deps): remove overrides for js-yaml, glob, and minimatch 2026-11-02 15:36:27 +01:00
phpcs.xml fix(phpcs): enable searchAnnotations in UnusedUses sniff configuration 2026-10-27 09:58:48 +01:00
phpstan.neon refactor(phpstan): reach PHPStan level 10 compliance and enforce global namespace prefixes 2026-11-15 16:44:59 +01:00
phpunit.xml fix: add missing CACHE_STORE environment variable 2026-10-27 16:17:40 +01:00
pint.json refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
production-resources.yaml feat: Clean and add CICD for K8S migration 2025-01-24 15:32:29 +01:00
README.md refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
rector.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
REGLES METIERS.md docs: document order cancellation, employee code and unverified login rules 2026-11-15 18:25:49 +01:00
RGPD.md docs: to force rebuild 2026-10-27 17:33:42 +01:00
staging-resources.yaml ci: added staging-resources.yaml + define pod resources + limit cronjobs 2026-02-03 09:36:35 +01:00
tsconfig.json refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
vite.config.ts chore(config): add fileURLToPath import for path resolution 2026-10-27 09:58:35 +01:00
vitest.config.ts chore(config): add fileURLToPath import for path resolution 2026-10-27 09:58:35 +01:00

Boutique Click N Collect Sablé

Table of contents

Frameworks, Platforms and Libraries

SASS TypeScript Vite PHP Laravel Vue.js

Installation

cp .env.example .env
vi .env
composer install
php artisan storage:link
npm i
npm run prod

Tests

cp .env.example .env.testing
vi .env.testing
composer install
php artisan storage:link
composer run test

Deployment

php artisan schedule:run

Available Commands

php artisan ldcweb:admin-secure-sync

Créer un utilisateur :

php artisan create:admin

Changelog

See the CHANGELOG.md file for details.

Architecture

Ce projet suit les principes de l'Architecture Hexagonale (Ports et Adapteurs) et du Domain-Driven Design (DDD). L'objectif est d'isoler au maximum la logique métier de l'infrastructure (framework Laravel, base de données, requêtes réseau) pour avoir un code robuste, pérenne et facile à tester.

Règles d'Or (Verrouillées par les tests)

Afin de faciliter l'onboarding et d'assurer que l'architecture ne dérive pas, Pest Arch et PHPStan (Level 9) garantissent les principes suivants à chaque commit :

  1. Isolation totale du Domaine (Le Cœur) : Le code dans domain/ ne doit jamais dépendre du Framework (Illuminate\), de App\, ou de Infrastructure\. Il ne dépend que de PHP natif.
  2. Inversion des Dépendances : L'Application et l'Infrastructure dépendent du Domaine, et jamais l'inverse. Le domaine expose des Ports (Interfaces) que l'infrastructure implémente via ses Adapters.
  3. Entités et Objets-Valeurs Purs : Le domaine manipule ses propres Entités et ValueObjects validés et typés fortement. L'utilisation directe des modèles Eloquent est strictement interdite dans le domaine.
  4. Conventions de Nommage : Chaque composant a une place et un suffixe stricts : *Service, *Repository, *Exception, *Dto. Les tests échoueront si la convention n'est pas respectée.