As a user, I want the application to retrieve and log the current temperature for a specified location at configurable intervals, so that I can monitor environmental conditions and ensure the system operates based on accurate data #4
[ ] The application reads the following configurations from the .env file at startup: OPENWEATHERMAP_API_KEY; LOCATION; RETRIEVAL INTERVAL specifying how often to fetch the temperature data
[ ] The .env file is in .gitignore
[ ] The application retrieves the current temperature in Celsius for the specified location from the API at the intervals specified
[ ] The temperature data is logged with timestamps for each retrieval
[ ] If the temperature retrieval is successful, the temperature and location are logged
[ ] If the temperature retrieval fails, an error message is logged indicating the issue
[ ] An example .env.example file with dummy values is provided to guide configuration without revealing sensitive data
.env
file at startup:OPENWEATHERMAP_API_KEY
;LOCATION
;RETRIEVAL INTERVAL
specifying how often to fetch the temperature data.env
file is in.gitignore
.env.example
file with dummy values is provided to guide configuration without revealing sensitive data