Although javascript and typescript are widely used in the Mendix platform a Node.js application is completely different. You have to rebuild from scratch it in Mendix. For particular UI controls or widgets you can consider converting them to a Mendix Widget. It should be based on react. https://docs.mendix.com/howto/extensibility/create-a-pluggable-widget-one.
If any data is involved export/import it via Excel or a database connect.