In #18 @clarkda suggested that we detect any critical configuration that is missing and just abort the server start if any of it is missing. I agree that this would be better than what we have now (reporting it on the api response). Let's get it done!
Whoever fixes this should also fix the restaurants api endpoint to not worry about checking that the Google places api key exists since the check will happen at server start
In #18 @clarkda suggested that we detect any critical configuration that is missing and just abort the server start if any of it is missing. I agree that this would be better than what we have now (reporting it on the api response). Let's get it done!
Ideally an error should be printed to the console describing what is wrong and how to fix. There are some details in https://github.com/codeforhuntsville/Frontier/issues/9#issuecomment-101507165 for the specific issue of setting the Google Places API key.