Now, we need to import server from server.js and startServer from functions.js into index.js
and actually start a server!
You can start it on any free port, but I suggest using port 8080 for us to be on the same page

If everything goes well, you should see the message Server is running on port 8080 in the console.
It will be printed by the callback passed into server.listen

This task is part of the Full-Stack JavaScript Course .
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.