Skip to content

Implement Leaderboard scoring aggregation #96

@PitaFLAME

Description

@PitaFLAME

For this issue, you'll need to work with our MongoDB database to read values generated by other parts of the program.

Please accomplish the following:

  • Create a new API route called "update-points"
  • When the API is called, run a program that collects relevant data from the database and aggregates point values.
  • Point values are to be stored in a local csv file. Only use a single primary key to identify users.
  • Create a function that returns an array of the top 10 point-getters called getPointLeaders().

For URI, message Pita on discord, I'll get it to you.

Here's a diagram of the db design:
image

125 points

Metadata

Metadata

Assignees

Labels

additionNew feature or requestback-endThis issue primarily involves back-end developmentcomplexThis may require multiple people

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions