Optional autoOptional https?: booleanWhether to use https. Default is false. Corresponding environment variable: HTTPS
Optional logConfigures the logging behaviour.
Optional mongoThe connection string used to connect to mongodb. Default is mongodb://127.0.0.1:27017. Corresponding environment variable: MONGO_URI
Optional port?: numberThe API's port number. Default is 8000. Corresponding environment variable: PORT.
Optional preferWhether to prefer environment variables to configure the api. Default is false.
Optional sslThe path to your ssl public certificate. Corresponding environment variable: SSL_CRT_FILE
Optional sslThe path to your ssl private key. Corresponding environment variable: SSL_KEY_FILE
Optional units?: Partial<UnitConfiguration>The default units. Important: Weather data uploads have to use these units! Corresponding environment variables: RAIN_UNIT, TEMPERATURE_UNIT, ...
Generated using TypeDoc
Whether the api should automatically start the http(s) server after being configured. Default is
true. Corresponding environment variable:AUTOSTART.