Skip to content

Commit

Permalink
Leaderboard frontend (#66)
Browse files Browse the repository at this point in the history
* added leaderboard page with test data

* added daily stats

* undid min width css

* worked on calendar page

* added svg layer and disabled puzzles

* fixed day leaderboards + added stats page

* added username box to registration page, tried fetching puzzle names (didnt work)

Co-authored-by: a-jason-liu21 <a.jason.liu21@gmail.com>
  • Loading branch information
stegosaurus21 and stegosaurus21 authored Aug 26, 2022
1 parent 580c712 commit aa01011
Show file tree
Hide file tree
Showing 15 changed files with 778 additions and 301 deletions.
5 changes: 5 additions & 0 deletions backend/routes/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ def register():

# Fetch verification code
code = User.register(json["email"], json["username"], json["password"])

# jason - temporarily don't do verification for testing frontend fetches
# User.register_verify(code)
# return jsonify({}), 200

# TODO: convert to domain of verification page once we have its address
url = f"{os.environ['TESTING_ADDRESS']}/verify/{code}"

Expand Down
199 changes: 195 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aa01011

Please sign in to comment.