import dotenv from 'dotenv' // getting .env dotenv.config({ path: path.join(path.resolve(), '/.env') })