Files
Classeo/backend/.gitignore
Mathias STRASSER 1fd256346a feat: Infrastructure multi-tenant avec isolation par sous-domaine
Une application SaaS éducative nécessite une séparation stricte des données
entre établissements scolaires. L'architecture multi-tenant par sous-domaine
(ecole-alpha.classeo.local) permet cette isolation tout en utilisant une
base de code unique.

Le choix d'une résolution basée sur les sous-domaines plutôt que sur des
headers ou tokens facilite le routage au niveau infrastructure (reverse proxy)
et offre une UX plus naturelle où chaque école accède à "son" URL dédiée.
2026-01-31 01:03:35 +01:00

82 lines
2.4 KiB
Plaintext

# =============================================================================
# Symfony
# =============================================================================
/var/
/vendor/
/.env.local
/.env.local.php
/.env.*.local
/config/secrets/prod/prod.decrypt.private.php
/public/bundles/
# Fichiers auto-générés par Symfony
/config/preload.php
/config/reference.php
# =============================================================================
# Doctrine Fixtures (auto-généré)
# =============================================================================
/src/DataFixtures/
# =============================================================================
# PHPUnit
# =============================================================================
/phpunit.xml
.phpunit.cache/
.phpunit.result.cache
# =============================================================================
# PHPStan
# =============================================================================
phpstan.neon.dist
# =============================================================================
# PHP CS Fixer
# =============================================================================
.php-cs-fixer.cache
# =============================================================================
# JWT Keys
# =============================================================================
/config/jwt/*.pem
# =============================================================================
# Composer
# =============================================================================
composer.phar
###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/config/secrets/prod/prod.decrypt.private.php
/public/bundles/
/var/
/vendor/
###< symfony/framework-bundle ###
###> friendsofphp/php-cs-fixer ###
/.php-cs-fixer.php
/.php-cs-fixer.cache
###< friendsofphp/php-cs-fixer ###
###> lexik/jwt-authentication-bundle ###
/config/jwt/*.pem
###< lexik/jwt-authentication-bundle ###
###> phpunit/phpunit ###
/phpunit.xml
/.phpunit.cache/
###< phpunit/phpunit ###
# =============================================================================
# Symfony Flex Docker (redondant avec compose.yaml racine)
# =============================================================================
/compose.yaml
/compose.override.yaml
# =============================================================================
# System
# =============================================================================
core