generated from codersforcauses/django-nextjs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
backendTask must have a back end issueTask must have a back end issue
Description
Create GET request to retrieve Leaderboard data.
We can use dummy data like:
leaderboard = {
"honor_point":1,
"regular_point":10,
"completed_time_second":100
# other details needed for FrontEnd
}We need a folder under api > leaderboard, this command might be useful
python manage.py startapp leaderboard The GET request URL can be added in urls.py
The dummy data can be added in views.py
Once the data retrieved, we can attach the BE response to FE component.
Metadata
Metadata
Assignees
Labels
backendTask must have a back end issueTask must have a back end issue