After researching I have resolved to use axios library as it returns the result as a JSON object so no need to convert it to JSON and also has a shorter syntax
[x]Homepage
[]Dashboard
[x]Leaderboard page
After researching I have resolved to use axios library as it returns the result as a JSON object so no need to convert it to JSON and also has a shorter syntax
[x]Homepage
[]Dashboard
[x]Leaderboard page