Skip to content

Glossary: Real-Time Apps with WebSockets

Environment variables (.env)

Also written: .env, process.env, --env-file

Settings such as `JWT_SECRET` that the program reads from `process.env`, loaded from a `.env` file with `node --env-file=.env`. Never commit `.env` to Git.

Where the book teaches it