I finished the course and I’m right now trying to build a React app with login/authorisation. So, I went back to this challenge because I liked its implementation, till I realised it used pug and I can’t quite figure out how to do the same for a React app.
I’ve searched online and here, all I’ve come across is neither here or there. Haven’t found anything extensive such as this challenge but for React, they usually use cookies or localStorage etc.
Can someone with more wisdom, share a resource that explains authorisation for React implemented like this challenge? Or if there’s a better way that suits React, then point me in the right direction to learn that please?
TL;DR - How do I implement React in place of Pug from the advanced node and express challenge?