Convert to Nodejs project

I have a project that is strictly a client side angular app. I would like to "convert" this app to an app running under nodejs and express. Any suggestions on how would be the best way to proceed? For starters I don't see in the settings that there is a setting like "project type". How does the project "know" to run node?

Thank you.

 

0

from the IDE point of view, there is no difference between client-side and server-side projects - they all have the same type. And it's not the IDE that 'knows' to run node, it's you who creates a Node.js run configuration to run it. So, just add needed files and create configurations - no special conversion is needed.

 

see also https://confluence.jetbrains.com/display/WI/Getting+started+with+Node.js, https://confluence.jetbrains.com/display/WI/Running+and+debugging+Node.js+application

0

请先登录再写评论。