I'm playing around with Nowjs, GraphQL, and MongoDB on a side-project and I'm using MongoDB Atlas to create a remote database and Nowjs to deploy my server. Also, I'm using Mongoose to connect to the DB.
The problem is, MongoDB Atlas requires you to whitelist IPs to connect to the database and I couldn't find much info IPs used by Nowjs servers where my deployments are being hosted. Also, I must add that I'm not currently using any custom domain or alias, just the random generated ones.
Is there a way to get the Nowjs IP and have it fixed somehow? Or having a whitelist of domains instead of IPs?
The only solution I could find is allowing any IP to access the DB, but that seems like something insecure to do.