acmucsd/acm-ai-site

Restructuring the competitions page for scalability

Opened this issue · 5 comments

Restructuring the competitions page for scalability

@StoneT2000 meet with @CatFish47 to discuss the structure and layout.

Big Components include

  • Landing page
  • Submission Page
  • Leaderboard Page
  • Team Page

Landing Page:
https://ai.acmucsd.com/competitions/:competition_id

  • Read metadata from a database
    • Description
    • Competition Name
    • Competition Type
    • Start and End Date (end date can be optional)
      Links to relevant information, namely the leaderboard and submission page

Submission Page:
https://ai.acmucsd.com/competitions/:competition_id/submissions

  • Submit any kind of file (e.g. a zip) to a backend API
    • Don’t worry about what is in the file, just assume the backend tells us if the submission was uploaded to the DB (in the future, tell us if file is stored on amazon S3)
    • Add tags to submission (either custom tags or selected from given tags from a competition)
    • Add description to submission

Leaderboard Page
https://ai.acmucsd.com/competitions/:competition_id/leaderboard

  • Display rankings
  • For now assume database returns the rankings in the right order (basically, DB sorts everything)