How does nodejs realize the collection function and can see his own collection on the user page? ?

  node.js, question

For example, for a movie website, after the user logs in, he randomly clicks on a movie detail page and then clicks the collect button, which indicates that the collection is successful, and then he can see the collected movie catalog in the user detail page.

You’re right upstairs. This Node has nothing to do with it. Since you can write the login function, writing a collection function is not a problem at all.