chore: Initial Commit

feat: Gestion des inscriptions [#1]
feat(frontend): Création des vues pour le paramétrage de l'école [#2]
feat: Gestion du login [#6]
fix: Correction lors de la migration des modèle [#8]
feat: Révision du menu principal [#9]
feat: Ajout d'un footer [#10]
feat: Création des dockers compose pour les environnements de
développement et de production [#12]
doc(ci): Mise en place de Husky et d'un suivi de version automatique [#14]
This commit is contained in:
Luc SORIGNET
2024-11-18 10:02:58 +01:00
committed by N3WT DE COMPET
commit af0cd1c840
228 changed files with 22694 additions and 0 deletions

View File

@ -0,0 +1,30 @@
export const mockSchedules = [
{ id: 'default', name: 'Planning principal', color: '#10b981' },
{ id: 'secondary', name: 'Planning secondaire', color: '#3b82f6' },
{ id: 'special', name: 'Événements spéciaux', color: '#ef4444' },
{ id: 'exam', name: 'Planning examens', color: '#f59e0b' }
];
export const mockEvents = [
{
id: 'event-1',
title: 'Cours de Mathématiques',
description: 'Cours de mathématiques avancées',
start: '2024-02-20T08:00:00',
end: '2024-02-20T10:00:00',
scheduleId: 'default',
location: 'Salle A101',
color: '#10b981'
},
{
id: 'event-2',
title: 'Examen Physique',
description: 'Examen final de physique',
start: '2024-02-21T14:00:00',
end: '2024-02-21T16:00:00',
scheduleId: 'exam',
location: 'Amphithéâtre B',
color: '#f59e0b'
}
];

View File

@ -0,0 +1,322 @@
export const mockFicheInscription = [
{
"eleve": {
"nom": "Dupont",
"prenom": "Jean",
"responsables":[ {
"mail": "responsable@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2023-10-01",
"etat": 1,
"fichiers": [
{ "url": "/path/to/file1", "nom": "file1.pdf" },
{ "url": "/path/to/file2", "nom": "file2.pdf" }
]
},
{
"eleve": {
"nom": "Martin",
"prenom": "Paul",
"responsables":[ {
"mail": "paul.martin@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2023-09-15",
"etat": 2,
"fichiers": [
{ "url": "/path/to/file3", "nom": "file3.pdf" },
{ "url": "/path/to/file4", "nom": "file4.pdf" }
]
},
{
"eleve": {
"nom": "Bernard",
"prenom": "Alice",
"responsables":[ {
"mail": "alice.bernard@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2023-08-20",
"etat": 0,
"fichiers": [
{ "url": "/path/to/file5", "nom": "file5.pdf" },
{ "url": "/path/to/file6", "nom": "file6.pdf" }
]
},
{
"eleve": {
"nom": "Lefevre",
"prenom": "Marie",
"responsables":[ {
"mail": "marie.lefevre@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2023-07-10",
"etat": 3,
"fichiers": [
{ "url": "/path/to/file7", "nom": "file7.pdf" },
{ "url": "/path/to/file8", "nom": "file8.pdf" }
]
},
{
"eleve": {
"nom": "Moreau",
"prenom": "Luc",
"responsables":[ {
"mail": "luc.moreau@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2023-06-05",
"etat": 1,
"fichiers": [
{ "url": "/path/to/file9", "nom": "file9.pdf" },
{ "url": "/path/to/file10", "nom": "file10.pdf" }
]
},
{
"eleve": {
"nom": "Simon",
"prenom": "Julie",
"responsables":[ {
"mail": "julie.simon@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2023-05-15",
"etat": 2,
"fichiers": [
{ "url": "/path/to/file11", "nom": "file11.pdf" },
{ "url": "/path/to/file12", "nom": "file12.pdf" }
]
},
{
"eleve": {
"nom": "Laurent",
"prenom": "Pierre",
"responsables":[ {
"mail": "pierre.laurent@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2023-04-10",
"etat": 0,
"fichiers": [
{ "url": "/path/to/file13", "nom": "file13.pdf" },
{ "url": "/path/to/file14", "nom": "file14.pdf" }
]
},
{
"eleve": {
"nom": "Roux",
"prenom": "Sophie",
"responsables":[ {
"mail": "sophie.roux@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2023-03-20",
"etat": 3,
"fichiers": [
{ "url": "/path/to/file15", "nom": "file15.pdf" },
{ "url": "/path/to/file16", "nom": "file16.pdf" }
]
},
{
"eleve": {
"nom": "David",
"prenom": "Antoine",
"responsables":[ {
"mail": "antoine.david@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2023-02-25",
"etat": 1,
"fichiers": [
{ "url": "/path/to/file17", "nom": "file17.pdf" },
{ "url": "/path/to/file18", "nom": "file18.pdf" }
]
},
{
"eleve": {
"nom": "Gauthier",
"prenom": "Emma",
"responsables":[ {
"mail": "emma.gauthier@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2023-01-15",
"etat": 2,
"fichiers": [
{ "url": "/path/to/file19", "nom": "file19.pdf" },
{ "url": "/path/to/file20", "nom": "file20.pdf" }
]
},
{
"eleve": {
"nom": "Garcia",
"prenom": "Lucas",
"responsables":[ {
"mail": "lucas.garcia@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2022-12-10",
"etat": 0,
"fichiers": [
{ "url": "/path/to/file21", "nom": "file21.pdf" },
{ "url": "/path/to/file22", "nom": "file22.pdf" }
]
},
{
"eleve": {
"nom": "Perrin",
"prenom": "Chloe",
"responsables":[ {
"mail": "chloe.perrin@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2022-11-05",
"etat": 3,
"fichiers": [
{ "url": "/path/to/file23", "nom": "file23.pdf" },
{ "url": "/path/to/file24", "nom": "file24.pdf" }
]
},
{
"eleve": {
"nom": "Robin",
"prenom": "Nathan",
"responsables":[ {
"mail": "nathan.robin@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2022-10-15",
"etat": 1,
"fichiers": [
{ "url": "/path/to/file25", "nom": "file25.pdf" },
{ "url": "/path/to/file26", "nom": "file26.pdf" }
]
},
{
"eleve": {
"nom": "Richard",
"prenom": "Lea",
"responsables":[ {
"mail": "lea.richard@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2022-09-10",
"etat": 2,
"fichiers": [
{ "url": "/path/to/file27", "nom": "file27.pdf" },
{ "url": "/path/to/file28", "nom": "file28.pdf" }
]
},
{
"eleve": {
"nom": "Petit",
"prenom": "Tom",
"responsables":[ {
"mail": "tom.petit@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2022-08-05",
"etat": 0,
"fichiers": [
{ "url": "/path/to/file29", "nom": "file29.pdf" },
{ "url": "/path/to/file30", "nom": "file30.pdf" }
]
},
{
"eleve": {
"nom": "Durand",
"prenom": "Sarah",
"responsables":[ {
"mail": "sarah.durand@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2022-07-10",
"etat": 3,
"fichiers": [
{ "url": "/path/to/file31", "nom": "file31.pdf" },
{ "url": "/path/to/file32", "nom": "file32.pdf" }
]
},
{
"eleve": {
"nom": "Lemoine",
"prenom": "Maxime",
"responsables":[ {
"mail": "maxime.lemoine@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2022-06-05",
"etat": 1,
"fichiers": [
{ "url": "/path/to/file33", "nom": "file33.pdf" },
{ "url": "/path/to/file34", "nom": "file34.pdf" }
]
},
{
"eleve": {
"nom": "Marchand",
"prenom": "Elodie",
"responsables":[ {
"mail": "elodie.marchand@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2022-05-15",
"etat": 2,
"fichiers": [
{ "url": "/path/to/file35", "nom": "file35.pdf" },
{ "url": "/path/to/file36", "nom": "file36.pdf" }
]
},
{
"eleve": {
"nom": "Blanc",
"prenom": "Louis",
"responsables":[ {
"mail": "louis.blanc@example.com",
"telephone": "0123456789"
}]
},
"dateMAJ": "2022-04-10",
"etat": 0,
"fichiers": [
{ "url": "/path/to/file37", "nom": "file37.pdf" },
{ "url": "/path/to/file38", "nom": "file38.pdf" }
]
},
{
"eleve": {
"nom": "Fontaine",
"prenom": "Camille",
"responsables":[ {
"mail": "camille.fontaine@example.com",
"telephone": "0987654321"
}]
},
"dateMAJ": "2022-03-20",
"etat": 3,
"fichiers": [
{ "url": "/path/to/file39", "nom": "file39.pdf" },
{ "url": "/path/to/file40", "nom": "file40.pdf" }
]
}
];

View File

@ -0,0 +1,22 @@
export const mockStudent = {
id: 0,
nom: "Fake",
prenom: "Student",
nationalite: "FakeNationality",
dateNaissance: "2000-01-01",
codePostalNaissance: "00000",
lieuNaissance: "FakeCity",
adresse: "123 Fake Street",
medecinTraitant: "Dr. Fake",
niveau: "1",
responsables: [{
id: 1,
nom: "Fake Responsable",
prenom: "",
mail: "",
telephone: "",
dateNaissance: "",
profession: "",
adresse: ""
}]
};

View File

@ -0,0 +1,8 @@
export const mockUser = {
id: 0,
email: "fake@example.com",
username: "fakeuser",
password: "fakepassword",
estConnecte: false,
};