Stepped Signup form backend

Viewed 41

I would like to persist users' progress on a stepped signup form, so that if some of the steps are completed, but they drop off before submitting final step, the progress would be saved and the fields will be populated next time user attempts. In the first step, it saves the name, in the second, the date of birth and in the third step, the address. When users complete a signup step, a request to persist input data will be sent. In your opinion, which would be the best approach?

  1. Having only one endpoint

  2. Having an endpoint for each step

How can one compute the effort required to save user input step by step?

I am interested in the backend part; using Java with Spring.

0 Answers
Related