Is there possible to use multiple .env file in node JS ?
Answers (1)
Add AnswerYes it’s possible, You have to create two .env files one for dev and one for prod and then you have to create one config file to read and set the environment from .env files.
You can refer to this article.