You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create two servers within the backend folder, one using Node.js ( in a file named server1.js ) and the other using Express.js ( in a file named server2.js ). These servers should listen on ports 5000 and 5001 respectively. Additionally, implement an environment file for managing variables like port numbers and other potential future additions.
Tasks:
Set up a simple Node.js server to listen on port 5000.
Configure an Express server to listen on port 5001.
Implement an environment file for managing variables such as port numbers and potential future additions.
Bonus Task:
In the README.md file, add a section with appropriate heading to the question below.
Is it advisable to have multiple servers in the backend of a project? Why or why not?
Does the decision to use multiple servers depend on the project requirements?
If yes, what factors should influence the decision to use multiple servers, and what actions should be taken accordingly?
The text was updated successfully, but these errors were encountered:
Create two servers within the backend folder, one using
Node.js
( in a file named server1.js ) and the other usingExpress.js
( in a file named server2.js ). These servers should listen on ports 5000 and 5001 respectively. Additionally, implement an environment file for managing variables like port numbers and other potential future additions.Tasks:
Bonus Task:
In the README.md file, add a section with appropriate heading to the question below.
The text was updated successfully, but these errors were encountered: