SE310-1 / W.A.K

W.A.K is a movie tracker web-app developed to simplify and enhance the movie-rating experience while making this process more fun and customisable.
MIT License
2 stars 12 forks source link

Favourites styling #64

Closed MRlolface249 closed 1 year ago

MRlolface249 commented 1 year ago

some styling for the favourites page which will become dynamically generated once some hooks are implemented.

leas022 commented 1 year ago

image

MRlolface249 commented 1 year ago

I have resolved the merge conflicts, if you want to just double check that I haven't deleted anything important. luca has provided the screenshots requested

leas022 commented 1 year ago

I have resolved the merge conflicts, if you want to just double check that I haven't deleted anything important. luca has provided the screenshots requested

Thank you for the photo credit

leas022 commented 1 year ago

I am getting this issue when I run the branch - just wanted to determine where this bug is coming from

JsonWebTokenError: jwt malformed
    at module.exports [as verify] (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\jsonwebtoken\verify.js:70:17)
    at requireAuth (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\src\middleware\requireAuth.js:14:27)
    at Layer.handle [as handle_request] (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\layer.js:95:5)
    at next (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\route.js:144:13)
    at Route.dispatch (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\route.js:114:3)
    at Layer.handle [as handle_request] (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\layer.js:95:5)
    at C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\index.js:284:15
    at param (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\index.js:365:14)
    at param (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\index.js:376:14)
    at Function.process_params (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\index.js:421:3)
JsonWebTokenError: jwt malformed
    at module.exports [as verify] (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\jsonwebtoken\verify.js:70:17)
    at requireAuth (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\src\middleware\requireAuth.js:14:27)
    at Layer.handle [as handle_request] (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\layer.js:95:5)
    at next (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\route.js:144:13)
    at Route.dispatch (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\route.js:114:3)
    at Layer.handle [as handle_request] (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\layer.js:95:5)
    at C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\index.js:284:15
    at param (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\index.js:365:14)
    at param (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\index.js:376:14)
    at Function.process_params (C:\Users\lucae\OneDrive - The University of Auckland\Desktop\UOA\2023\SOFTENG310\a2-alex\W.A.K\server\node_modules\express\lib\router\index.js:421:3)
leas022 commented 1 year ago

Okay I have checked out the commit before the merge conflict commit - the error message is not displaying when I run the project from this commit. Either the bug was already in main (and is only being exposed now) or the bug was caused when the merge conflict was resolved.

leas022 commented 1 year ago

Is someone else able to run the project from this fork and confirm they are getting the same error logged to the console?

MRlolface249 commented 1 year ago

I have run it as well, and get the same error