Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
becb1a8
feat(be): contest leaderboard ststics graph
seoin2744 Nov 16, 2025
5595428
docs(be): add Get Contest Problem Statics Graph bruno files
seoin2744 Nov 17, 2025
58ae7ce
chore(be): add seed data for Contest Statistics graph
seoin2744 Nov 17, 2025
3fac3b8
docs(be): fix Succeed bruno docs
seoin2744 Nov 17, 2025
28689e4
refactor(be): restructure code layout and improve getContestProblemSt…
seoin2744 Nov 18, 2025
0e51eba
chore(be): fix seed.ts for Submissions data
seoin2744 Nov 18, 2025
a5969ba
refactor(be): add problem statistics prisma field
seoin2744 Nov 20, 2025
ae254da
chore(be): add seed data for OLE and SFE
seoin2744 Nov 20, 2025
ee7d589
chore(be): reclassification the results by the type of submissions
seoin2744 Nov 20, 2025
6e719e1
chore(be): timeslot setting change
seoin2744 Nov 20, 2025
e275d1e
chore(be): delte comment
seoin2744 Nov 20, 2025
b82ef25
Merge branch 'main' into t2254-contest-problem-statistics-graph
hjkim24 Nov 20, 2025
a4affe5
docs(be): fix connection bruno gui with IDLE
seoin2744 Nov 21, 2025
3e97de4
Merge branch 't2254-contest-problem-statistics-graph' of https://gith…
seoin2744 Nov 21, 2025
c1e7b00
chore(be): deleting mode
seoin2744 Jan 19, 2026
3b075d5
chore(be): moving functions
seoin2744 Jan 19, 2026
d4f4653
chore(be): modify formatting
seoin2744 Jan 19, 2026
613cd0b
docs(be): modify API docs
seoin2744 Jan 19, 2026
e7f8f85
docs(be): deleting unnecessary seq bru folder
seoin2744 Jan 19, 2026
b10f49f
chore(be): deleting unneceassry pipe
seoin2744 Jan 19, 2026
8950374
feat(be): contest users list and user analytics dashboard
seoin2744 Jan 19, 2026
7d37547
chore(be): add seed data
seoin2744 Jan 19, 2026
4107dc8
refactor(be): change the structures of contest users statistics
seoin2744 Jan 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions apps/backend/apps/client/src/contest/contest.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,32 @@ export class ContestController {
problemId
)
}
@Get(':id/problem/:problemId/statistics/graph')
@UserNullWhenAuthFailedIfPublic()
async getContestProblemStatistics(
@Param('id', IDValidationPipe) contestId: number,
@Param('problemId', new RequiredIntPipe('problemId')) problemId: number
) {
return await this.contestService.getContestProblemStatistics({
contestId,
problemId
})
}

@Get(':id/statistics/users')
@UserNullWhenAuthFailedIfPublic()
async getContestUsersStatistics(
@Param('id', IDValidationPipe) contestId: number
) {
return await this.contestService.getContestUsersStatistics(contestId)
}

@Get(':id/statistics/user/:userId')
@UserNullWhenAuthFailedIfPublic()
async getContestUserStatistics(
@Param('id', IDValidationPipe) contestId: number,
@Param('userId', IDValidationPipe) userId: number
) {
return await this.contestService.getContestUserStatistics(contestId, userId)
}
}
Loading
Loading