added router classes
This commit is contained in:
parent
6b164aa983
commit
d38b53096c
5 changed files with 17 additions and 10 deletions
|
|
@ -3,6 +3,3 @@
|
||||||
|
|
||||||
#Reference: https://isaacfei.com/posts/simple-like-system/
|
#Reference: https://isaacfei.com/posts/simple-like-system/
|
||||||
|
|
||||||
# addReaction
|
|
||||||
# delete Reaction
|
|
||||||
# get Reactions by slug
|
|
||||||
|
|
@ -1,8 +1,2 @@
|
||||||
|
|
||||||
# User: id, email(unique), name(unique), usercode(f.e. WLAID, unique) , subscription(bool), active=false
|
# User: id, email(unique), name(unique), usercode(f.e. WLAID, unique) , subscription(bool), active=false
|
||||||
|
|
||||||
# CreateUser <- mail, Name
|
|
||||||
# Login Rate Limit! -> token for everything else
|
|
||||||
# Forgot Code <- token, email
|
|
||||||
# Delete User <- token
|
|
||||||
# change mail <- token, mail
|
|
||||||
4
backend/src/backend/routers/comments.py
Normal file
4
backend/src/backend/routers/comments.py
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
# add comment
|
||||||
|
# delete comment
|
||||||
|
# get comments
|
||||||
5
backend/src/backend/routers/reactions.py
Normal file
5
backend/src/backend/routers/reactions.py
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
# addReaction
|
||||||
|
# delete Reaction
|
||||||
|
# get Reactions by slug
|
||||||
7
backend/src/backend/routers/users.py
Normal file
7
backend/src/backend/routers/users.py
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# CreateUser <- mail, Name
|
||||||
|
# Login Rate Limit! -> token for everything else
|
||||||
|
# Forgot Code <- email (rate limit)
|
||||||
|
# Delete User <- token
|
||||||
|
# change mail <- token, new mail
|
||||||
|
|
||||||
|
# delete all deactivated users after 48h
|
||||||
Loading…
Add table
Reference in a new issue