this is first time Im doing this, so I have to wonder:
Does "deploying to production", when it comes to a Node JS app – simply means copying the .js files to production? there’s no ‘build’ operation or anything like that? and what about sensitive information, like usernames, password, etc? on dev its in an ENV file. Do I just move it to prod? somehow I think I missed something big…
For the environment variable, you’re correct.
Answered By – Đăng Khoa Đinh