Skip to content

Tymotex/Konflux

Repository files navigation

Konflux

View the Figma prototype

Firebase realtime database data model:

{
    "events": {
        "comp4128-group-study-134ca1": {
            name: "COMP4128 Group Study",
            earliest: 18,  // 9:00AM.
            latest: 34,    // 5:00PM.
            groupAvailabilities: {
                // Array of 48 integers denoting how many responders are
                // available at a certain 30-min time block, ordered from
                // 00:00 to 23:59.
                "2022-08-20": {
                    0: {},                         // 12:00AM.
                    1: {},                         // 12:30AM.
                    2: {"Alice": {}},              // 1:00AM.
                    3: {"Alice": {}, "Bob": {}},   // 1:30AM.
                    4: {},                         // 2:00AM.
                    5: {"Bob": {}},                // 2:30AM.
                    // ... and so on.
                }
                // ... and so on for further dates.
            },
            members: {
                "Alice": {
                    password?: "...",           // Only for this event.
                    email?: "alice@gmail.com",  // Only for registered members.
                    profilePicUrl?: "...",      // Only for registerd members.
                    isOwner?: true              // Only for the creator.
                },
                "Bob": {
                }
                // ...
            }
        },
        "Dinner with Linus Torvalds": {
            // ...
        }
    },
    users: {
        "Alice": {
            email?: "alice@gmail.com",
            profilePicUrl?: "...",
            // TODO: could either over-fetch data or introduce more redundancy in `events`.
            events: ["comp4128-group-study-134ca1", /* ... */]
        },
        // ...
    }
}

Event page data flow diagram

Releases

No releases published

Packages

No packages published

Languages