Is there any complete example of Node.js application that handles Aurelia SSR?
To use SSR my Aurelia application should use Webpack? Is it possible to use SSR with SystemJS Aurelia app?
My Aurelia application has a module to communicate with a backend API to get data from a database. As I understand, for SSR this module has to be completely rewritten, because my API backend is the same backend that handles SSR and I can bypass networking for my Aurelia app to access the backend API. As I can see - it is possible to configure different entry point (main.js) for server version of my app. But can’t find how to pass some object from my backend app to server version of my Aurelia app. Can I use
AppInitializationOptions to pass additional data (server API interface) to my aurelia app? How to access this data in aurelia app?
Is it a good idea to use Aurelia and SSR as a template engine to render static html files server side? I am using Aurelia for the frontend and I am going to add SSR to speed up frontend loading. But my backend also needs to send emails. Would you recommend rendering email html with Aurelia or it is better to use another html rendering engine?