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

206
Visualizações
How to store REST api payload for user from frontend?

I would like to store the payload of REST API calls made by a user in frontend and be able to make the calls to recreate what the user did (like a replay button)

I have the following scenario:

User opens website.

User picks a product and configures it.

How can I store the REST API calls payload from frontend: Is there a framework that does that? Which database should I use?

about 4 years ago · Santiago Gelvez
1 Respostas
Responde à pergunta

0

You can implements it by state management. I think the user data shoud be stored firstly in some state in front-end by using a Redux library for example.

Finally you can send the data for a data base (MongoDb for example) to persist the data stored in Redux state.

So, in terms of Data base use, that depends on if you need that data, even when the user close the browser.

about 4 years ago · Santiago Gelvez Relatório
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