The usershould be redirected to the long Url of the corresponding short url by using an API request/responseso that the performance will be improved and it's safer
Description
Currently, the redirects are done by using a dynamic page and a router, which isn't optimal. This has to change and be done by an API request/response handler.
Acceptance Criteria
[ ] Redirect the user with an API request
[ ] Other Features of Nextjs like middleware, nextResponse / nextResponse or other can be used.
Tasks
[ ] write some sort of "handler" that redirects the user to the corresponding Long Url of the short URL.
Value Proposition
The user should be redirected to the long Url of the corresponding short url by using an API request/response so that the performance will be improved and it's safer
Description
Currently, the redirects are done by using a dynamic page and a router, which isn't optimal. This has to change and be done by an API request/response handler.
Acceptance Criteria
Tasks
Complexity
L