Home > OS >  Can someone tell me what is the build command for node js application?
Can someone tell me what is the build command for node js application?

Time:05-20

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.

  • Related