Simple .env management with NestJS (with Railway)
I usually deploy my backend in railway.So I usually have only 2 env: local and prod.
Create 2 env files:
Copy file to .env file in deploy step in package.json
Make sure in the PROD deployment we run the correct command (in this case is Railw...
thebrownbox.hashnode.dev1 min read