Muslim-Athletic-Association / backend

Contains all of the back-end server code for the Muslim Athletic Association
1 stars 0 forks source link

Fetch all Leagues with all divisions #40

Open osamaramihafez opened 3 years ago

osamaramihafez commented 3 years ago

We want to fetch all of the leagues (Competitions) that we have including all of the divisions (competitionGroups).

It's required that the json data is organized as such:

{
    league1: {
        divisionA,
        divisionB,
        ...
    },
    league2: {...}
}

Use Case: Side bar menu in admin app.