u/RezaIqronoorin r/node • Recommends
How to handle auth with JWT in MERN stack the "safe" way?
Hi, so basically I already understand the basic of auth using JWT but have no idea on how to do it the safe way . then I found this tutorial by benawad which is following this guide by hasura. ( By reading the comments I know that it's not best but aleast better? )
The problem is the guide uses GraphQL ( which I have no idea how to use it since I haven't got any reason to learn it ) and that I want to use REST instead. Oh and ben used typescript, which I have no experience at.
Do you guys perhaps can lead me to some guide or article which they use the same approach as hasura but using MERN stack and REST?