Creating a Leaderboard using FireBase

Hi everyone,

Would anyone know how to create a leaderboard using Firebase? I would like to display highest scores and user name from a quiz.

Many thanks!

1 Like

Hello @bellzy.lucilou3zty3y! :vulcan_salute:t2:

Welcome to the community,
I believe this can be done fairly easily. For information setting up your Firebase DB Click Here

Some blocks like below I think is kind of the starting scheme of it…

NOTE: I didn’t test any of this as I don’t have time right now, it is merely a means to give ideas. Can be more specific later if needed

1 Like

Objects with the user name and score should be saved to 1 bucket.

Then iterate over that bucket and sort by score but display all object properties

2 Likes

Hi @DuMonster thank you so much for your help! I will test this out and get back to you :slight_smile:

1 Like

Thank you @jared !! :slight_smile:

1 Like

Hey! Can you just send the link of your project wanna see your design. Please :blush: