Quick tip: .env in next.js
Fredrik BergqvistUsing environment variables is a great way to store environment specific values and secrets that should not be in the git repo. Lets say you have an API which runs on localhost locally but a different host in production. On the server Locally you need to add an .env.local-file in your project root containing a […]