I have created an API project with NodeJS and Express. Now I want to build the project and publish it to my IIS Server. Can someone guide me in the correct direction ?
CodePudding user response:
This might help Hosting express node.js applications in IIS using iisnode. For more info on the project itself, you can find its repo here iisnode.
CodePudding user response:
You don't need to build a node.js app. You just need to run it with node. eg node ./index.js
You don't need a web server to run a node.js app. Node is a server.
CodePudding user response:
You can't build a node application, node is a server, you run it by running the index file, for production you simply run it and flag it as production.