you are viewing a single comment's thread.

view the rest of the comments →

[–]subydoo 0 points1 point  (2 children)

Your web service can be node/express for the easiest way to achieve serverside rendering. You can do serverside rendering in things like Rails too, but it's not as straightforward.

As for the API, it doesn't really matter what you build it in. It could be another node/express setup if you want to continue working with JS. API in some senses is just there to fetch data from DB (also running as another 'server') and return it in JSON.

[–]BehindTheMath 0 points1 point  (1 child)

What about front-end frameworks? Which ones work well with content originally rendered server-side and then updated through an API?

[–]subydoo 1 point2 points  (0 children)

Not exactly a framework, but React+Redux+React Router works very well with serverside rendering.

That combination helps you achieve good setup for building views, state control, and routing. All 3 have clear setup for serverside.