I am creating web-app with react. It is my first JS project so I decided to ask for advice.
I do not know how to manage user session. I am using axios.post to connect with server but I do not know how should my app behave after successful authorize. Now app just changes page to for example /myaccount.
Please tell me what should I use ensure that user cannot access /myaccount without login.
Aucun commentaire:
Enregistrer un commentaire