Environment variables
Last modified on Thu 23 Jan 2025

When using SSR, the node server can read system environment variables at runtime and transfer them to the client using the TransferState API. This is just one of the use cases for the TransferState API.

To simplify working with environment variables in an SSR application, refer to the Environment variables documentation in our ngx-nuts-and-bolts library where the setup and the usage is explained in detail.