'Running Multiple react projects on the same port ( nodejs )

I just started my react journey and I apologize if this is a silly question.

As you know that in the Apache web server you can put all your projects under "htdocs" folder and the browser can open any projects under that folder (port 80).

Question: How to do a similar thing for NodeJS ? At the moment, for each new react project i start, it opens in a new port.

Is there a similar folder like "htdocs" for NodeJS where i can store all my react projects and and run all my react projects from port 3000 ( just like how it works in apache on port 80).

The main objective is not to open a new port for each new project. Please correct me if I'm wrong. Thank you for your time.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source