Skip to content

Commit 4472e10

Browse files
committed
feat(readme): Fixes #4 - Ajout cahier des charges
1 parent 1c5559a commit 4472e10

7 files changed

Lines changed: 655 additions & 42 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727

2828
---
2929

30+
## [0.0.2] - 2025-12-28
31+
32+
### Ajouté
33+
34+
- Documentation
35+
- cahier-des-charges.md
36+
37+
### Changement
38+
39+
- README.md
40+
41+
---
42+
3043
## [0.0.1] - 2025-12-28
3144

3245
### Ajouté
@@ -51,6 +64,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5164
- Audit des dépendances
5265
- Release & versioning
5366
- Documentation
54-
- Workflow.md
67+
- workflow.md
5568

5669

README.md

Lines changed: 154 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,154 @@
1-
# SaintBarthVolley
2-
Site web de l'association sportive Volley-ball de Saint Barthélémy d'Anjou
1+
# 🏐 Saint Barth Volley — Plateforme Web
2+
3+
Site web et plateforme numérique du **Club de Volley de Saint-Barthélemy-d’Anjou (49)**.
4+
Le projet vise à **structurer, moderniser et professionnaliser** la communication et la gestion des informations du club.
5+
6+
---
7+
8+
## 🎯 Objectifs du projet
9+
10+
- Créer un **site web vitrine moderne et responsive**
11+
- Centraliser les informations du club (équipes, saisons, matchs, actualités)
12+
- Automatiser l’affichage des **résultats et classements FFVB**
13+
- Mettre en valeur les partenaires et les événements
14+
- Fournir un **back-office simple** pour les bénévoles
15+
- Poser une base technique solide et maintenable (architecture MERN)
16+
17+
---
18+
19+
## 🧱 Stack technique
20+
21+
### Frontend
22+
- **React**
23+
- Vite
24+
- ESLint / Prettier
25+
- Responsive design (mobile-first)
26+
27+
### Backend
28+
- **Node.js / Express**
29+
- API REST interne
30+
- Authentification sécurisée (JWT)
31+
- Cron jobs (scraping FFVB, tâches planifiées)
32+
33+
### Base de données
34+
- **MongoDB**
35+
- Mongoose (ODM)
36+
- Historisation des données par saison
37+
38+
### Dev & Qualité
39+
- **Pre-commit** (lint + format automatique)
40+
- GitHub Actions (CI/CD, releases)
41+
- Conventional Commits
42+
- SemVer
43+
44+
---
45+
46+
## 📂 Structure du projet
47+
48+
```
49+
├── app/
50+
│ ├── frontend/ # Application React
51+
│ └── backend/ # API Express
52+
53+
├── docs/ # Documentation de conception
54+
55+
├── .github/
56+
│ └── workflows/ # GitHub Actions
57+
58+
├── INSTALL.md # Installation et setup du projet
59+
├── CONTRIBUTING.md # Guide de contribution
60+
├── CHANGELOG.md # Historique des versions
61+
├── README.md # (ce fichier)
62+
└── .pre-commit-config.yaml
63+
```
64+
65+
---
66+
67+
## 📚 Documentation du projet
68+
69+
Toute la **conception fonctionnelle et technique** est centralisée dans le dossier `docs/`.
70+
71+
👉 **Point d’entrée recommandé** :
72+
- 📖 [`docs/README.md`](docs/README.md)
73+
74+
### Contenu du dossier `docs/`
75+
76+
| Document | Description |
77+
|--------|-------------|
78+
| 📄 Cahier des charges | Vision, objectifs, périmètre fonctionnel |
79+
| 🔄 Workflow | Git, branches, releases, CI/CD |
80+
| 🧩 UML | Diagrammes (cas d’usage, séquences, classes) |
81+
| 🗺️ Cartographies | Architecture applicative et flux |
82+
| 🎨 Maquettes | UX/UI (desktop & mobile) |
83+
| 🗄️ Conception des données | Dictionnaire, MCD, MLD, MPD |
84+
85+
---
86+
87+
## 🚀 Installation & démarrage
88+
89+
**Voir le guide** :
90+
[`INSTALL.md`](/INSTALL.md)
91+
92+
Résumé rapide :
93+
94+
```bash
95+
# Frontend
96+
cd app/frontend
97+
npm install
98+
npm run dev
99+
100+
# Backend
101+
cd app/backend
102+
npm install
103+
npm run dev
104+
```
105+
106+
## 🧪 Qualité & linting
107+
108+
Le projet utilise pre-commit pour garantir la qualité du code :
109+
- ESLint (frontend & backend)
110+
- Prettier
111+
- Lancement automatique avant chaque git commit
112+
113+
```
114+
pre-commit install
115+
```
116+
117+
## 🔁 Workflow Git
118+
119+
Branches : main, develop, feature/*, release/*, hotfix/*
120+
121+
Commits normalisés (Conventional Commits)
122+
123+
Releases automatiques via GitHub Actions
124+
125+
📘 Détails :
126+
[`workflow.md`](docs/workflow/workflow.md)
127+
128+
## 🤝 Contribuer
129+
130+
Les contributions sont les bienvenues, même ponctuelles 🙌
131+
132+
📌 Merci de lire avant toute contribution :
133+
[`CONTRIBUTING.md`](/CONTRIBUTING.md)
134+
135+
## 📈 Suivi & évolutions
136+
137+
- Roadmap basée sur les saisons sportives
138+
- Architecture pensée pour évoluer (PWA, extranet adhérents, statistiques avancées)
139+
140+
## 🛡️ Sécurité & conformité
141+
142+
- HTTPS
143+
- RGPD (données minimales, consentement)
144+
- Sauvegardes planifiées
145+
- Séparation claire Front / API / DB
146+
147+
## 📄 Licence
148+
149+
Projet développé bénévolement pour une association sportive.
150+
Licence à définir (MIT recommandée).
151+
152+
## ❤️ Remerciements
153+
154+
Projet porté par une équipe bénévole du club.

app/frontend/README.md

Lines changed: 87 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,118 @@
1-
# Getting Started with Create React App
1+
# Frontend – Site officiel du club de volley de Saint-Barthélemy-d’Anjou
22

3-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3+
## 🎯 Objectif
44

5-
## Available Scripts
5+
Cette application front-end est la partie **publique et administrative (back-office)** du site web du club de volley de Saint-Barthélemy-d’Anjou.
66

7-
In the project directory, you can run:
7+
Elle permet :
8+
- La consultation des contenus publics (équipes, actualités, résultats, partenaires…)
9+
- La gestion des contenus via une interface d’administration sécurisée
10+
- Une navigation fluide et responsive (desktop & mobile)
811

9-
### `npm start`
12+
---
1013

11-
Runs the app in the development mode.\
12-
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
14+
## 🧱 Stack technique
1315

14-
The page will reload when you make changes.\
15-
You may also see any lint errors in the console.
16+
- **React** (SPA)
17+
- **TypeScript** (si activé)
18+
- **Vite** (build & dev server)
19+
- **React Router** (navigation)
20+
- **Axios / Fetch** (API)
21+
- **ESLint** (qualité du code)
22+
- **Prettier** (formatage)
23+
- **CSS / Tailwind / SCSS** (selon implémentation)
1624

17-
### `npm test`
25+
---
1826

19-
Launches the test runner in the interactive watch mode.\
20-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
27+
## 📁 Structure des dossiers
2128

22-
### `npm run build`
29+
```
30+
frontend/
31+
├── src/
32+
│ ├── assets/ # Images, icônes, visuels
33+
│ ├── components/ # Composants UI réutilisables
34+
│ ├── pages/ # Pages (Home, Teams, News, Admin…)
35+
│ ├── layouts/ # Layouts globaux (Public / Admin)
36+
│ ├── services/ # Appels API
37+
│ ├── hooks/ # Hooks personnalisés
38+
│ ├── context/ # Context API / Auth
39+
│ ├── styles/ # Styles globaux
40+
│ ├── utils/ # Helpers
41+
│ └── main.tsx
42+
├── public/
43+
├── .eslintrc
44+
├── .prettierrc
45+
├── package.json
46+
└── vite.config.ts
47+
```
2348

24-
Builds the app for production to the `build` folder.\
25-
It correctly bundles React in production mode and optimizes the build for the best performance.
2649

27-
The build is minified and the filenames include the hashes.\
28-
Your app is ready to be deployed!
50+
---
2951

30-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
52+
## 🚀 Lancer le projet
3153

32-
### `npm run eject`
54+
### Installation des dépendances
3355

34-
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
56+
```bash
57+
npm install
58+
```
3559

36-
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
60+
Démarrage en mode développement
61+
```bash
62+
npm run dev
63+
```
3764

38-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
65+
Build de production
66+
```bash
67+
npm run build
68+
```
3969

40-
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
70+
### 🔐 Authentification & rôles
4171

42-
## Learn More
72+
- Authentification via JWT (API backend)
73+
- Rôles :
74+
- admin
75+
- editor
76+
- Accès restreint au back-office selon les droits
4377

44-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
78+
### 🎨 UX / UI
4579

46-
To learn React, check out the [React documentation](https://reactjs.org/).
80+
Les maquettes de référence sont disponibles dans :
4781

48-
### Code Splitting
82+
```bash
83+
docs/maquettes/
84+
```
4985

50-
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
86+
⚠️ Toute évolution UI doit respecter :
87+
- La charte graphique existants
88+
- Les maquettes validées
89+
- L’accessibilité (contrastes, lisibilité)
5190

52-
### Analyzing the Bundle Size
91+
### 🧹 Qualité de code
5392

54-
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
93+
Ce projet est soumis à :
94+
- ESLint
95+
- Prettier
96+
- pre-commit hooks
5597

56-
### Making a Progressive Web App
98+
Les linters sont exécutés :
99+
- Avant chaque commit
100+
- Lors des pipelines CI
57101

58-
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
102+
### 🔗 Liens utiles
59103

60-
### Advanced Configuration
104+
- 📐 Maquettes : docs/maquettes/
105+
- 📄 Cahier des charges : docs/cahier-des-charges/
106+
- 🗺️ Cartographie : docs/cartographies/
107+
- 🔁 Workflow Git : docs/workflow/
61108

62-
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
109+
### 🧠 Bonnes pratiques
63110

64-
### Deployment
111+
- Composants petits et réutilisables
112+
- Pas de logique métier dans les composants UI
113+
- Appels API centralisés
114+
- Pas de données mockées en dur en production
65115

66-
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
116+
### 👥 Contribution
67117

68-
### `npm run build` fails to minify
69-
70-
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
118+
Merci de lire CONTRIBUTING.md avant toute contribution.

0 commit comments

Comments
 (0)