Cannot use .env properly with mongodb
I want to use .env variables for my server-side but index.js can see .env but does not run mongo properly. I can log .env variables from index.js also if i define port and url statically in index.js everything going well.…