TLDR: Constants are fixed values used throughout an application, for various uses including storing base URLs to build on and much more. They're used for keeping code clean, easy to update, and free from hardcoded literals that get lost easy. The main difference between picking one or the other is: if you're including sensitive data then it should be a secret and everything else can be a constant. If you read our secrets post, then you already have a grasp on the general idea behind secrets - so constants should be no problem for you!
What are Programming Constants?
Programming constants...