[api] resource.env is defined as process.env.NODE_ENV or "development"