You don't use config in this file. Instead of importing it here, you should just import it in server.js.