I am making a node.js express application (express-generator in case that helps) that is deployed to Heroku. I am using an AWS atlas cluster, and I am pretty knew to this. I am using mongoose in my express app. I was wondering, is there anything I should do so that me running on my localhost in development or people who visit my website at the heroku deployed can access and retrieve and send data with the site? I am simply doing a login, register, profile information functionality that stores in atlas.
I read a mongodb blog post about heroku with mongodb, but it did not really apply to me because they were not using mongoose but an npm lib called
I don’t really do anything like a development or production environment, I simply write the code, run it on my localhost, then it is deployed automatically to Heroku with a ci on every commit and push.
If this helps, my project structure and functionality is extremely similar to https://www.youtube.com/watch?v=Us-JwsZtAwA&t=1193s this video. Thanks!