I have this script that is usually used in the same place with the server launch in server.js what I tried now is to separate this script from the main file so
server.js