import dotenv from 'dotenv' ; dotenv . config ( ) ; export const dbSettings = { host : process . env . DB_REDIS_SERVERS || '127.0.0.1' , port : process . env . DB_REDIS_PORT || 6379 , password : process . env . DB_REDIS_PASS || '' } ; export const serverConfig = { port : process . env . PORT || 3000 , env_name : process . env . NODE_ENV || 'dev' , backendToken : 'this is a bad backend token' , } ;