Skip to content

Glossary: Building APIs with Node.js

.env file

Also written: --env-file, env file

A local file of environment variables that `--env-file=.env` loads. It holds the secret, so it goes in `.gitignore`.

Where the book teaches it

Related terms

Environment variable