{"id":28398455,"url":"https://github.com/solaris-bit/sports_project","last_synced_at":"2026-05-05T13:31:05.274Z","repository":{"id":296189663,"uuid":"992545450","full_name":"SOLARIS-bit/sports_project","owner":"SOLARIS-bit","description":"Gestion d'un championnat sportif via une application web developpée en php, avec une base de données MariaDB","archived":false,"fork":false,"pushed_at":"2025-05-29T11:10:31.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-29T12:33:33.394Z","etag":null,"topics":["apache","crostini","mariadb","mcd","mld","mysql","php","phpmyadmin","python","sports-management","sql","webapp"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SOLARIS-bit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-29T10:28:11.000Z","updated_at":"2025-05-29T11:10:34.000Z","dependencies_parsed_at":"2025-05-29T12:34:30.041Z","dependency_job_id":"513706a0-03bc-4015-8e69-fd3f6e7736c7","html_url":"https://github.com/SOLARIS-bit/sports_project","commit_stats":null,"previous_names":["solaris-bit/sports_project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SOLARIS-bit/sports_project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOLARIS-bit%2Fsports_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOLARIS-bit%2Fsports_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOLARIS-bit%2Fsports_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOLARIS-bit%2Fsports_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SOLARIS-bit","download_url":"https://codeload.github.com/SOLARIS-bit/sports_project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOLARIS-bit%2Fsports_project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262444708,"owners_count":23312211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","crostini","mariadb","mcd","mld","mysql","php","phpmyadmin","python","sports-management","sql","webapp"],"created_at":"2025-06-01T05:00:25.442Z","updated_at":"2025-10-27T07:16:55.180Z","avatar_url":"https://github.com/SOLARIS-bit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎯 Projet Web : Application de Gestion Sportive (2-Tier Architecture)\n![PHP](https://img.shields.io/badge/php-8.2-blue?logo=php)\n![MariaDB](https://img.shields.io/badge/mariadb-10.11-lightblue?logo=mariadb)\n![License](https://img.shields.io/badge/license-MIT-green)\n![Status](https://img.shields.io/badge/status-complete-success)\n## 🧾 Description\nCe projet consiste à développer une application web simple de gestion de compétitions sportives, basée sur une architecture à deux niveaux (2-tier) :  \n- **Frontend / logique métier** en PHP  \n- **Backend / base de données** en MariaDB\n\nL’application permet de gérer des joueurs, des équipes, des matchs, des buts, des cartons, et de consulter des statistiques comme les buteurs ou les classements.\n\n---\n\n## ⚙️ Fonctionnalités\n\n- 🔹 Ajouter / afficher des joueurs\n- 🔹 Ajouter / afficher des matchs\n- 🔹 Ajouter des buts et des cartons\n- 🔹 Voir les classements des groupes\n- 🔹 Voir les meilleurs buteurs\n- 🔹 Rechercher un joueur\n\n---\n\n## 🗄️ Structure du projet\n\n### Fichiers inclus :\n\n| Fichier PHP              | Rôle                                  |\n|--------------------------|----------------------------------------|\n| `index.php`              | Tableau de bord                        |\n| `insert_player.php`      | Formulaire d’ajout de joueur           |\n| `view_players.php`       | Liste des joueurs                      |\n| `insert_match.php`       | Ajout de match                         |\n| `view_matches.php`       | Liste des matchs                       |\n| `insert_goal_card.php`   | Ajout de but / carton                  |\n| `match_summary.php`      | Résumé de match                        |\n| `top_scorers.php`        | Classement des buteurs                 |\n| `group_standings.php`    | Classement par groupe                  |\n| `search_player.php`      | Recherche de joueur                    |\n\n| Autres fichiers         | Description                           |\n|--------------------------|----------------------------------------|\n| `database.sql`           | Script de création de la base de données avec données exemple |\n| `MCD.png`                | Schéma entité-relation (Modèle Conceptuel de Données) |\n| `README.md`              | Ce fichier d'explication              |\n\n---\n\n## 🧠 Modèle Conceptuel de Données (MCD)\n\nLe fichier `MCD.png` représente le **modèle conceptuel de données** de l’application, basé sur les entités suivantes :\n\n- **Competition**\n- **Group**\n- **Team**\n- **Player**\n- **Match**\n- **Goal**\n- **Card**\n- **Referee**\n- **Team_Group**\n\nLes relations sont modélisées via des clés étrangères (ex : un joueur appartient à une équipe, une équipe joue plusieurs matchs, etc.)\n\n👉 Ce schéma est généré à partir de la structure réelle de la base et visible dans le fichier `MCD.png`.\n\n---\n\n## 💻 Installation (local)\n\n1. Importer la base de données :\n   ```bash\n   mysql -u root -p \u003c database.sql\n   \n2. Copier les fichiers dans /var/www/html :\n   ```bash\n   sudo cp *.php /var/www/html/\n\n3. Accéder au projet dans le navigateur :\n   http://localhost\nou http://[adresse IP Linux Crostini]\n\n## Database Setup (phpMyAdmin or CLI)\n1. Option A: Importer via phpMyAdmin\n- Aller à http://localhost/phpmyadmin\n- Se connecter avec ses crédits MySQL/MariaDB\n- Créer un nouveau database: sports_management\n- Cliquer Import → Select database.sql → Click Go\n\n2. Option B: Importer via Terminal\n   ```bash\n   mysql -u root -p\n   CREATE DATABASE sports_management;\n   USE sports_management;\n   SOURCE database.sql;\n\n\n## 🖼️ Entity Relationship Diagram\nThe full database model is included as a visual MCD:\n\n## Auteur\nSolaris-bit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolaris-bit%2Fsports_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolaris-bit%2Fsports_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolaris-bit%2Fsports_project/lists"}