Skip to content

The League Management System (LMS) is a comprehensive solution designed to assist football associations in efficiently managing league operations. This software streamlines key functions such as team and player registration, match scheduling, referee assignments, and real-time tracking of match results.

Notifications You must be signed in to change notification settings

PLSQL-Capstone-Projects-AUCA-2024/Mon_Peacocks_LeagueManagementSystem

Repository files navigation

📗 Table of Contents

📖 League Management system

League Management System The League Management System (LMS) is a comprehensive solution designed to assist football associations in efficiently managing league operations. This software streamlines key functions such as team and player registration, match scheduling, referee assignments, and real-time tracking of match results. LMS automates league standings updates, supports player transfers, and ensures accurate, transparent records across the league. With features tailored for administrators, team managers, referees, and coaches, LMS enhances decision-making, fosters collaboration, and promotes seamless communication, ultimately contributing to a more organized and competitive league environment.

🛠 Built With

Tech Stack

Key Features

  • Team and Player Registration: Easily register teams, players, coaches, and referees for each league season.
  • Match Scheduling: Organize and schedule matches across various stadiums with assigned referees.
  • Real-time Match Results: Record match scores, incidents, and updates, with automatic calculation of league standings.
  • Player Transfers: Manage player transfers between teams, with built-in eligibility checks and history tracking.
  • Data Integrity and Validation: Ensure accurate, error-free data entry and referential integrity across the system.
  • User Roles and Permissions: Define specific access roles (Admin, Team Manager, Referee) to control access and maintain security.
  • Reports and Insights: Generate insights and reports for team performance, player statistics, and league analytics.

(back to top)

🚀 Live Demo

This project is currently designed for on-premises use and does not have a live demo. Here is ERD (Logical model) for League Management System WhatsApp Image 2024-11-14 at 22 54 03 ERD

Swimlane

A detailed, logical data model for The League Management Sytem project, incorporating all required entities, attributes, and relationships using SQL Developer.

LF drawio

The logical model provided includes primary and foreign keys, as well as other constraints where applicable.

Primary Keys: Match_ID, Team_ID,Player_ID,Season_ID, Stadium_ID,Coach_ID, TeamPlayer_ID, Transfer_ID

Foreign Keys:FK_MATCH_AWAY_TEAM,FK_MATCH_HOME_TEAM,FK_TEAM_COACH etc.

EXPLANATION

The Logical data model optimizes data storage and retrieval by organizing information into distinct tables with specific relationships, thereby reducing redundancy and enhancing data retrieval efficiency. Each entity, such as Teams, Players, Matches, Seasons, Stadiums, Transfers, and Coaches, has its own table with primary keys for unique identification and foreign keys that establish connections with related tables. For example, the Matches table references Teams, Stadiums, Referees, and Seasons, which prevents duplication of team and stadium details across multiple match records. The Transfers table handles player movements between teams with foreign keys, ensuring that each transfer record accurately links to players and teams involved. This relational approach minimizes data duplication and enables fast queries, as data is retrieved by joining related tables based on indexed keys rather than scanning large, repetitive datasets. By normalizing the design, it maintains data integrity and consistency, making it scalable and efficient for handling large datasets in sports management scenarios

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

You need to have git installed and the desired code editor (SQL developer or datagrip are recommended)

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone [email protected]:PLSQL-Capstone-Projects-AUCA-2024/Mon_Peacocks_LeagueManagementSystem.git

Usage

To run the project in development mode, execute the following command:

To create tables

-- 1. Stadiums Table
CREATE TABLE Stadiums
(
    stadium_id       NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
    stadium_name     VARCHAR2(100) UNIQUE NOT NULL,
    city             VARCHAR2(50) NOT NULL,
    capacity         NUMBER,
    established_year NUMBER(4)
);

-- 2. Coaches Table
CREATE TABLE Coaches
(
    coach_id         NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
    first_name       VARCHAR2(50) NOT NULL,
    last_name        VARCHAR2(50) NOT NULL,
    nationality      VARCHAR2(50),
    experience_years NUMBER
);
  
  Create More tables.....

To insert data

-- 1. Insert sample data into Coaches

INSERT INTO Coaches (first_name, last_name, nationality, experience_years)
VALUES ('Habimana', 'Innocent', 'Rwanda', 12);

INSERT INTO Coaches (first_name, last_name, nationality, experience_years)
VALUES ('Rukundo', 'Samuel', 'Rwanda', 8);

INSERT INTO Coaches (first_name, last_name, nationality, experience_years)
VALUES ('Mukamisha', 'Vestine', 'Rwanda', 5);



-- 2. Insert sample data into Stadiums
INSERT INTO Stadiums (stadium_name, city, capacity, established_year)
VALUES ('Amahoro Stadium', 'Kigali', 25000, 1987);

INSERT INTO Stadiums (stadium_name, city, capacity, established_year)
VALUES ('Nyamirambo Regional Stadium', 'Kigali', 12000, 1986);

INSERT INTO Stadiums (stadium_name, city, capacity, established_year)
VALUES ('Huye Stadium', 'Huye', 8000, 2015);


Insert more values .....

(back to top)

TEAM MEMBER SCOPE DOCUMENTATION

  • MUTESI Ange de Noella: Created and executed SQL commands to insert values, which were instrumental in generating and testing the logical data model within SQL Developer.
  • MAYIMANA Divine: Provided a concise yet informative explanation on how swim lanes operate, detailing their role in organizing and visualizing workflows or processes
  • UWINEZA Liliane: Delivered a comprehensive and detailed description of the logical data model, explaining its structure and how it supports data relationships within the project
  • shema Cyusa Patrick: I defined the overall scope and boundaries of the swim lane diagram, clarifying the processes it should include and the interactions it should depict.
  • NSANZIMFURA Enock: Wrote the SQL code required to create tables in SQL Developer, ensuring that the database structure aligned with the project’s design and data requirements.
  • KWIZERZA Jean Luc: Drew a swim lane diagram using UML notations, carefully following standardized symbols and conventions to represent different stages and roles within the workflow.
  • Kwizera Mackenzie: Reviewed and confirmed the logical flow within the swim lane diagram, ensuring that each step followed a coherent sequence that accurately represented the intended process.
  • CHIKELUBA Stanley: Identified the key entities necessary for the project, establishing the foundational elements required for an accurate and functional logical data model.
  • KUNDWA Nelly: Verified that the logical data model effectively addressed the primary issue outlined in Phase 1, ensuring the model’s alignment with the initial problem statement and objectives.
  • MUGISHA Abdoullatif: Carefully examined the logical data model to ensure that all necessary constraints were applied, enhancing the model’s accuracy and functionality.

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project kindly consider giving ⭐

(back to top)

🙏 Acknowledgments

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

The League Management System (LMS) is a comprehensive solution designed to assist football associations in efficiently managing league operations. This software streamlines key functions such as team and player registration, match scheduling, referee assignments, and real-time tracking of match results.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9