chore: initialisation du template-webapp
This commit is contained in:
0
.env.example
Normal file
0
.env.example
Normal file
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
52
a-lire.md
Normal file
52
a-lire.md
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
# À LIRE — Initialisation du projet
|
||||||
|
|
||||||
|
Ce dépôt est basé sur le template **template-webapp**.
|
||||||
|
|
||||||
|
## Étapes obligatoires
|
||||||
|
|
||||||
|
1. Renommer le projet (repo, README, docker-compose)
|
||||||
|
2. Compléter les sections ci-dessous
|
||||||
|
3. Lire `docs/ARCHITECTURE.md` avant toute écriture de code
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Description du projet
|
||||||
|
|
||||||
|
- Nom du projet :
|
||||||
|
- Type de webapp :
|
||||||
|
- Public cible :
|
||||||
|
- Objectif principal :
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Contraintes fortes
|
||||||
|
|
||||||
|
- Self-hosted / Cloud :
|
||||||
|
- Mono-utilisateur / Multi-utilisateur :
|
||||||
|
- Données sensibles : oui / non
|
||||||
|
- Contraintes légales (RGPD, etc.) :
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Stack envisagée (indicative)
|
||||||
|
|
||||||
|
- Frontend :
|
||||||
|
- Backend :
|
||||||
|
- Base de données :
|
||||||
|
- Stockage fichiers :
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Règles non négociables
|
||||||
|
|
||||||
|
- Monolithe modulaire
|
||||||
|
- ADR obligatoire pour toute décision structurante
|
||||||
|
- Backlog produit avant toute implémentation
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 5. Démarrage rapide
|
||||||
|
|
||||||
|
- Compléter `product/VISION.md`
|
||||||
|
- Compléter `docs/ARCHITECTURE.md`
|
||||||
|
- Créer les premières REQ dans `product/BACKLOG.md`
|
||||||
0
backend/CONTEXT.md
Normal file
0
backend/CONTEXT.md
Normal file
0
backend/Dockerfile
Normal file
0
backend/Dockerfile
Normal file
0
contracts/data_model.md
Normal file
0
contracts/data_model.md
Normal file
0
contracts/errors.md
Normal file
0
contracts/errors.md
Normal file
0
contracts/import/examples/import_full.json
Normal file
0
contracts/import/examples/import_full.json
Normal file
0
contracts/import/examples/import_min.json
Normal file
0
contracts/import/examples/import_min.json
Normal file
28
contracts/import/import.schema.json
Normal file
28
contracts/import/import.schema.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
|
"title": "Import Item",
|
||||||
|
"type": "object",
|
||||||
|
"required": ["source", "item"],
|
||||||
|
"properties": {
|
||||||
|
"source": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"name": {"type": "string"},
|
||||||
|
"imported_at": {"type": "string", "format": "date-time"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"item": {
|
||||||
|
"type": "object",
|
||||||
|
"required": ["name", "domain"],
|
||||||
|
"properties": {
|
||||||
|
"name": {"type": "string"},
|
||||||
|
"domain": {"type": "string"},
|
||||||
|
"description": {"type": "string"},
|
||||||
|
"specs": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
0
contracts/openapi.yaml
Normal file
0
contracts/openapi.yaml
Normal file
0
contracts/pagination.md
Normal file
0
contracts/pagination.md
Normal file
0
docker-compose.yml
Normal file
0
docker-compose.yml
Normal file
0
docs/API.md
Normal file
0
docs/API.md
Normal file
0
docs/ARCHITECTURE.md
Normal file
0
docs/ARCHITECTURE.md
Normal file
0
docs/DEPLOYMENT.md
Normal file
0
docs/DEPLOYMENT.md
Normal file
0
docs/OPERATIONS.md
Normal file
0
docs/OPERATIONS.md
Normal file
0
docs/PR_CHECKLIST.md
Normal file
0
docs/PR_CHECKLIST.md
Normal file
0
docs/SECURITY.md
Normal file
0
docs/SECURITY.md
Normal file
0
docs/STYLEGUIDE.md
Normal file
0
docs/STYLEGUIDE.md
Normal file
0
docs/adr/0001-exemple.md
Normal file
0
docs/adr/0001-exemple.md
Normal file
16
docs/adr/TEMPLATE.md
Normal file
16
docs/adr/TEMPLATE.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# ADR-XXXX — <Titre>
|
||||||
|
|
||||||
|
- Statut : proposed | accepted | deprecated
|
||||||
|
- Date : YYYY-MM-DD
|
||||||
|
|
||||||
|
## Contexte
|
||||||
|
|
||||||
|
## Décision
|
||||||
|
|
||||||
|
## Alternatives considérées
|
||||||
|
|
||||||
|
## Conséquences
|
||||||
|
|
||||||
|
## Impacts techniques
|
||||||
|
|
||||||
|
## Notes
|
||||||
0
frontend/CONTEXT.md
Normal file
0
frontend/CONTEXT.md
Normal file
0
frontend/Dockerfile
Normal file
0
frontend/Dockerfile
Normal file
55
outils_dev_pref.md
Normal file
55
outils_dev_pref.md
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
# Outils & préférences de développement
|
||||||
|
|
||||||
|
Ce fichier décrit **mes outils habituels** et **mes préférences**.
|
||||||
|
Il sert de référence aux agents et aux contributeurs.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Environnement de développement
|
||||||
|
|
||||||
|
- OS principal : debian 13
|
||||||
|
- Éditeur / IDE : VS Code
|
||||||
|
- Shell :
|
||||||
|
- Terminal :
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Outils backend
|
||||||
|
|
||||||
|
- Langage principal :python, go
|
||||||
|
- Framework API :
|
||||||
|
- ORM / DB access :
|
||||||
|
- Outils de test :
|
||||||
|
- Outils de lint / format :
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Outils frontend
|
||||||
|
|
||||||
|
- Framework UI :
|
||||||
|
- Bundler :
|
||||||
|
- Gestion état :
|
||||||
|
- Tests UI / E2E :
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Préférences UI / Web
|
||||||
|
|
||||||
|
- Thème préféré : gruvbox, dark, vintage - monokai dark
|
||||||
|
- Couleurs dominantes :
|
||||||
|
- Style UI : (minimal, dense, dashboard, etc.)
|
||||||
|
- Accessibilité prioritaire : oui / non
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Outils DevOps
|
||||||
|
|
||||||
|
- Conteneurs : Docker version 29.1.5 et ulterieur
|
||||||
|
- CI :
|
||||||
|
- Gestion secrets :
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
Tout outil ajouté ici est **autorisé par défaut** dans le projet.
|
||||||
19
product/BACKLOG.md
Normal file
19
product/BACKLOG.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Product Backlog
|
||||||
|
|
||||||
|
## Statuts
|
||||||
|
proposed | accepted | planned | in_progress | done | rejected
|
||||||
|
|
||||||
|
## Priorités
|
||||||
|
Must | Should | Could | Won’t
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### REQ-XXX — <Titre>
|
||||||
|
- Description :
|
||||||
|
- Valeur utilisateur :
|
||||||
|
- Inclus / Exclus :
|
||||||
|
- Priorité :
|
||||||
|
- Statut :
|
||||||
|
- Impacts (FE/BE/DB/Arch) :
|
||||||
|
- Dépendances :
|
||||||
|
- Notes :
|
||||||
0
product/RELEASE_NOTES.md
Normal file
0
product/RELEASE_NOTES.md
Normal file
0
product/ROADMAP.md
Normal file
0
product/ROADMAP.md
Normal file
0
product/VISION.md
Normal file
0
product/VISION.md
Normal file
0
scripts/db/backup.sh
Executable file
0
scripts/db/backup.sh
Executable file
0
scripts/db/restore.sh
Executable file
0
scripts/db/restore.sh
Executable file
0
scripts/dev.sh
Executable file
0
scripts/dev.sh
Executable file
0
scripts/fmt.sh
Executable file
0
scripts/fmt.sh
Executable file
0
scripts/lint.sh
Executable file
0
scripts/lint.sh
Executable file
0
scripts/test.sh
Executable file
0
scripts/test.sh
Executable file
0
tasks/001-exemple.md
Normal file
0
tasks/001-exemple.md
Normal file
26
tasks/TEMPLATE.md
Normal file
26
tasks/TEMPLATE.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# TASK-XXX — <Titre>
|
||||||
|
|
||||||
|
## Références
|
||||||
|
- PROJECT_CONTEXT.md
|
||||||
|
- docs/ARCHITECTURE.md
|
||||||
|
- product/BACKLOG.md → REQ-XXX
|
||||||
|
|
||||||
|
## Objectif
|
||||||
|
|
||||||
|
## Non-objectifs
|
||||||
|
|
||||||
|
## Périmètre
|
||||||
|
|
||||||
|
## Description fonctionnelle
|
||||||
|
|
||||||
|
## Spécifications techniques
|
||||||
|
|
||||||
|
## Fichiers autorisés
|
||||||
|
|
||||||
|
## Critères d’acceptation
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
## Risques
|
||||||
|
|
||||||
|
## Sortie attendue
|
||||||
Reference in New Issue
Block a user