No description
Find a file
2026-11-17 12:15:39 +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 refactor(uuid): migrate app, domain, infra, and factories to UuidHelper 2026-11-17 12:15:34 +01:00
bootstrap feat(orders): add checkout lock, FAIL/PENDING isolation, and stale pending expiration 2026-11-16 20:05:35 +01:00
config feat(sitemap): implement sitemap generation and configuration 2026-11-16 10:35:40 +01:00
database refactor(uuid): migrate app, domain, infra, and factories to UuidHelper 2026-11-17 12:15:34 +01:00
domain refactor(uuid): migrate app, domain, infra, and factories to UuidHelper 2026-11-17 12:15:34 +01:00
infra/Adapters refactor(uuid): migrate app, domain, infra, and factories to UuidHelper 2026-11-17 12:15:34 +01:00
lang fix(translations): add missing employee account message in fr.json 2026-11-16 10:39:39 +01:00
public feat(sitemap): implement sitemap generation and configuration 2026-11-16 10:35:40 +01:00
resources feat(orders): add checkout lock, FAIL/PENDING isolation, and stale pending expiration 2026-11-16 20:05:35 +01:00
routes feat(basket): add throttling middleware for basket actions 2026-11-15 20:01:02 +01:00
shared feat(shared): encapsulate UUID generation and parsing in UuidHelper 2026-11-17 12:15:28 +01:00
storage Gestion des erreurs d'import xml pour données inconsistentes 2021-07-28 11:43:26 +02:00
tests test(uuid): migrate test suite to UuidHelper and add missing describe blocks 2026-11-17 12:15:39 +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 ci(gitlab): install icu-data-full in tests_laravel for French locale currency formatting 2026-11-16 22:09:41 +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(deps): bound wildcard constraints for league/csv and uwil/storage-laravel 2026-11-16 18:34:09 +01:00
composer.lock chore(deps): bound wildcard constraints for league/csv and uwil/storage-laravel 2026-11-16 18:34:09 +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 feat(manifest): add LOG_LEVEL configuration 2026-11-17 12:13:55 +01:00
package.json chore(deps): remove overrides for js-yaml, glob, and minimatch 2026-11-02 15:36:27 +01:00
phpcs.xml chore(arch): include shared, domain, and infra in lint/arch checks 2026-11-16 00:49:51 +01:00
phpstan.neon chore(tests): upgrade to Pest 5, PHPUnit 13, pest-plugin-phpstan and phpstan-webmozart-assert 2026-11-16 14:49:53 +01:00
phpunit.xml chore(config): force APP_ENV to testing in phpunit.xml 2026-11-16 16:37:52 +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 refactor(domain,orders): convert OrderStatus enum to lowercase string 2026-11-16 20:31:25 +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.