The programming language you run on the server doesn't matter. The process is the client makes an HTTP request and gets the content. The content can be from anywhere like a static file, JavaScript, PHP, Perl, C#, COBOL, or anything else.
Working with nodejs or PHP won't affect SEO.