/api/v1/login
/api/v1/logout
/api/v1/#userid/list
/api/v1/#userid/add
/api/v1/#userid/remove
/api/v1/#userid/edit
Table: UserInfo
user id:integer (pkey)
user account:string (build index)
password:string
user name:string
Table: URLs
url id:integer (pkey)
user id:integer (indexing)
url:string
tinyurl:string (build index for quick query)
timestamp:time
You should identify enough components that are needed to solve the actual problem from end to end. Also remember to draw a block diagram using the diagramming tool to augment your design. If you are unfamiliar with the tool, you can simply describe your design to the chat bot and ask it to generate a starter diagram for you to modify...
Browser->Redirect Service->URL query service->DB catch-> DB -> real URL (send http redirect response with real URL)
User Browser->Manage Service->DB (sign in user, add/remove/edit url mapping)
build memory db to speed up search response time.