Nitely-Development / tcs-bugs

Bug tracking repo
0 stars 0 forks source link

short links #28

Open itsez opened 1 year ago

itsez commented 1 year ago

Good first task creating a new model, controller and router from scratch

need to shorten the links we send out to people by replacing the current link with a shortened version that resolves to their link when processed by our website

  1. a short link model (should have expiration, a code signifying the shortened url and the full url)
  2. controller that handles getting the full link for the requests and creating a short link given a full link
  3. route that the frontend can use to get the link for redirection
  4. a public frontend page that displays a loading indicator letting them know we are processing their link and calls the api to process the short link, then redirects them to the full link
itsez commented 1 year ago

for examples look at the adjustment model, controller and router