@4me/weather
Required variables
- METSAFE_API_TOKEN (required)
METSAFE API Token
Example:
METSAFE_API_TOKEN=xxxxx
Optional variables
- PORT
Port the application the will run on
Example:
PORT=3000
Default value:
3000
- LOG_PRETTY
Enable/disable human readable logs. JSON logs will be produced otherwise.
Example:
LOG_PRETTY=1
Default value:
process.env.NODE_ENV === 'development'
- LOG_LEVEL
Change the log level. Possible values are fatal, error, warn, info, debug or trace.
Example:
LOG_LEVEL=trace
Default value:
process.env.NODE_ENV === 'development' ? 'debug' : 'info'
- METSAFE_API_URL
METSAFE API endpoint
Example:
METSAFE_API_URL=https://some.other.provider.com
Default value:
https://apiv3.metsafecloud.com