I'm deploying a backend server (node/express) on Heroku. It's using Mongodb Atlas as database and the application is hosted on Heroku.
During development I have accepted to "allow access from anywhere" which works fine, but for production I believe this is a security risk. I can't seem to find an IP address for my Heroku server as it seems to be changing from time to time.
Any best practices which are somewhat easy to implement but also safe?
