Keep API keys and settings out of your code and out of git.
Made for you now: slide lessons from basics to production, usually with code and a quiz. See a finished one