feat: Setup projet Classeo avec infrastructure Docker et architecture DDD

Configure l'environnement de développement complet avec Docker Compose,
structure DDD 4 Bounded Contexts, et pipeline CI/CD GitHub Actions.

Corrections compatibilité CI:
- Symfony 8 nécessite monolog-bundle ^4.0 (la v3.x ne supporte que jusqu'à Symfony 7)
- ESLint v9 nécessite flat config (eslint.config.js) - le format .eslintrc.cjs est obsolète
This commit is contained in:
2026-01-30 09:55:58 +01:00
parent ddefa927c7
commit 6da5996340
125 changed files with 10032 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import { describe, it, expect } from 'vitest';
describe('Math operations', () => {
it('should add two numbers correctly', () => {
expect(1 + 1).toBe(2);
});
it('should multiply two numbers correctly', () => {
expect(2 * 3).toBe(6);
});
});
describe('String operations', () => {
it('should concatenate strings', () => {
expect('Hello' + ' ' + 'World').toBe('Hello World');
});
it('should convert to uppercase', () => {
expect('classeo'.toUpperCase()).toBe('CLASSEO');
});
});

View File

@@ -0,0 +1,23 @@
import { render, screen } from '@testing-library/svelte';
import { describe, expect, it } from 'vitest';
import Page from '../../src/routes/+page.svelte';
describe('Home Page', () => {
it('renders the welcome message', () => {
render(Page);
expect(screen.getByRole('heading', { name: 'Bienvenue sur Classeo' })).toBeTruthy();
});
it('renders the description', () => {
render(Page);
expect(screen.getByText('Application de gestion scolaire')).toBeTruthy();
});
it('starts counter at 0', () => {
render(Page);
expect(screen.getByText('Compteur: 0')).toBeTruthy();
});
});