@Brad Wong The only way an application can be accessed via the internet is through the already-exposed HTTP (80) and HTTPS (443) TCP ports. Applications may not listen on other ports for packets arriving from the internet as mentioned in this document. If you are trying to create the service on any other port or apart from HTTP/HTTPS protocol then it may not work.
To start with creating Node JS function app I will suggest you to review this document. In case if I misunderstand your requirement please share the reference document if any you are following deployed your application on the azure function app and if there are any/error exception.