it is necessary to create a registration + authorization, add comments and records, interested in the question: how best to implement it all? save data in cookies or through writing to files, json? Did anyone have experience in this. You can of course make registration through the server, but I'm completely new to js, ​​the easiest way is interested) Thank you in advance for your reply

  • "Did anyone have any experience with this?" - hardly. - Igor
  • There is a fairly easy way to use Node + MongoDB + JWT. A local "authorization" I do not even know what it is. Because it is, in general, not an authorization. But, as an option, you can store any values ​​in localStorage. And authorization to do after the minimum backend is written. - Alex Sazonov

0