Dynamic routing of a large page

Christian, I am getting confused which is not difficult to do to this nearly octogenerian.

If I am right, you are wanting to switch from PHP to NodeJS. In that case, I assume that the remote sever facilitates NodeJS.

For the setup, have a look at