Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

118
Visualizações
Cookies and best practices for implementation

Hello fellow developers!

I am pushing on with my food delivery practice website and have now reached the point where I need to implement some cookies. I am building the site using MERN stack.

For my authentication the way I best understand it is to implement passport js on my backend for login in users manually and with google/Facebook auth. However when it comes to creating cookies to store a shopping session eg saving the users cart I'm not sure what the best way to do this would be, do I implement cookies on my frontend with React storing the session locally or should I set it up in my API where everything is stored on the server. This is my first time implementing something like this so any input on best practices would be super helpful! Sorry if the question sounds a bit uninformed I am still a novice!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda