carlotacb/compra-local

[CLIENT]Manage user session

Closed this issue · 1 comments

I open this issue to decide which information we need to store on user session and manage it with react context

My proposal:

  • store if user is authentificated
  • user information (name, addreess, etc)

Definitive list:
// TODO

I propose to create a store component to manage cookies and store the user required information such as token in cookies, but probably there is a better way to do it