KerLau / Quiz-app

1 stars 2 forks source link

Fe component to show the leaderboard #44

Closed starmarek closed 10 months ago

starmarek commented 10 months ago
Kenny4297 commented 10 months ago

Hi @starmarek, love to help here. I'm curious about how you plan to store the leaderboards. If it's on the back-end, here are some options:

1) Add a 'score' field to each user's model. 2) Create a new model called 'Leaderboard'.

Alternatively, we could use a simple JSON file to store scores. While not a back-end solution, it's still feasible.

Personally, I'd recommend storing each user's score in local storage for simplicity, as the scores don't contain sensitive data, thus eliminating the need for API requests.

Let me know your preference and I can get started right away!

starmarek commented 10 months ago

Thanks for your input @Kenny4297. I am not being actively involved in the project. Any suggestions or inquiries should be directed to @KerLau.