mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
52 lines
1.5 KiB
Markdown
52 lines
1.5 KiB
Markdown
# Instructions Copilot - Projet N3WT-SCHOOL
|
|
|
|
## Objectif
|
|
|
|
Corriger ou améliorer le projet N3WT-SCHOOL de manière minimaliste et fonctionnelle, sans dépendances inutiles.
|
|
|
|
## Architecture du projet
|
|
|
|
### Structure
|
|
|
|
- **Backend** : Python Django (dossier `Back-End/`)
|
|
- **Frontend** : NextJS (dossier `Front-End/`)
|
|
- **Tests frontend** : `Front-End/src/test/`
|
|
- **Code frontend** : `Front-End/src/`
|
|
|
|
## Gestion des tickets
|
|
|
|
### Règles générales
|
|
|
|
- Chaque **nouvelle fonctionnalité** ou **correction** nécessite un ticket Gitea
|
|
- **Exemptions** : modifications documentaires, refactoring, chore, style
|
|
|
|
### Cycle de vie d'un ticket
|
|
|
|
1. **Création** → label `etat/En Pause`
|
|
2. **Affectation** → label `etat/En Cours`
|
|
3. **Développement terminé** → label `etat/Codé`
|
|
4. **Tests validés** → label `etat/Testé`
|
|
|
|
### Gestion des branches
|
|
|
|
- **Base** : branche `develop`
|
|
- **Nomenclature** : `<type>-<nom_ticket>-<numero>` (ex: `feat-ma_super_feat-1234`)
|
|
- **Types** : feat, fix, docs, style, refactor, test, chore
|
|
|
|
## Exigences qualité
|
|
|
|
### Tests
|
|
|
|
- Tests unitaires obligatoires pour chaque nouvelle fonctionnalité
|
|
- Localisation : `Front-End/src/test/`
|
|
|
|
### Documentation
|
|
|
|
- Documentation en français pour les nouvelles fonctionnalités (si applicable)
|
|
- Référence : [documentation guidelines](./instructions/documentation.instruction.md)
|
|
|
|
## Références
|
|
|
|
- **Tickets** : [issues guidelines](./instructions/issues.instruction.md)
|
|
- **Commits** : [commit guidelines](./instructions/general-commit.instruction.md)
|