Solution de gestion d'activités associatives permettant :
- ✅ Inscription à des actions bénévoles
- 📊 Suivi des participations
- 🏆 Attribution de badges selon l'engagement
Valeur ajoutée :
- 👥 Valorisation des actions sociales
- 🔗 Modèle relationnel complexe (bon exercice JEE)
- 💼 Projet présentable en portfolio
- 📅 Consultation des activités disponibles
- ➕ Inscription aux événements
- 📊 Historique des participations
- 🆕 Création d'activités
- 👥 Gestion des participants
- ✏️ Modification des informations
Configuration :
Nom : benevolact
Port : 3306
User : root
Password : [vide par défaut]
```xml
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/benevolact"/>
<property name="javax.persistence.jdbc.user" value="root"/>
<property name="javax.persistence.jdbc.password" value=""/>
| Entité | Attributs | Relations |
|---|---|---|
| User | id, nom, email, motDePasse, dateInscription |
ManyToMany → Activite |
| Activite | id, titre, description, date, lieu |
ManyToMany → User ManyToOne → Organisateur |
| Organisateur | id, nom, email, telephone |
OneToMany → Activite |
- JDK 11+
- MySQL 8.0+
- IDE au choix :
-
Cloner le dépôt :
git clone https://github.com/votre-utilisateur/benevolact.git cd benevolact -
Configurer la base de données :
CREATE DATABASE benevolact; USE benevolact; -
Configuration JPA : Modifier
src/main/resources/META-INF/persistence.xml:<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/benevolact?useSSL=false"/> <property name="javax.persistence.jdbc.user" value="root"/> <property name="javax.persistence.jdbc.password" value="votre_mot_de_passe"/> -
Démarrer l'application :
- Importer le projet dans votre IDE
- Configurer Tomcat 9+
- Lancer le serveur
- Accéder à : http://localhost:8080/benevolact
Raef Gaied
Étudiant en informatique
