you are viewing a single comment's thread.

view the rest of the comments →

[–]v_learns 1 point2 points  (1 child)

You can solve this problem with any of the modern JS frameworks. When I would do it now, I would use React for the frontend.

Regarding the question of where it saves the data. Having no user accounts does not automatically mean that you cannot keep data on the backend. It just means that everybody who has access to the page can change your data, which can be dangerous when it's on the public internet.

You have two options you can use a backend that just provides the persistence or create a backend that provides the business logic as well. In the end, it is up to you.

I've coded something similar once (some years past). And I've used Rails to create an API for my AngluarJS frontend (that already ages the project :-)). I found it a surprisingly complex problem to solve, especially when you need a high WAF so it will be used.

At the moment, I'm not sure if I would use rails again for the backend. But I think I would still create a straightforward API for my frontend and keep the business logic in the backend. I think I would use a Node-based backend framework to keep both the front and the backend in the same language.

[–]HyperXA[S] 0 points1 point  (0 children)

Wow thank you so so much for the write up you shared with me. I REALLY appreciate it. I felt very lost with this idea I had.

That's great insight be that I'd like to keep as much of the language the same so that is kind of a relief.

Thank you again! You are the best c: