Application configuration shouldn’t be spread throughout your code base. Instead a much better place to put it is an external YAML file. See how to do that in this episode.

Read more at the source