4.3: Mastodon Bot - Environment Variables in Node with dotenv

Опубликовано: 09 Октябрь 2018
на канале: The Coding Train
8,854
184

In this video, I cover the node.js "dotenv" package and show how to save API credentials as environment variables. Code: https://thecodingtrain.com/tracks/mas...

💻 Github Repo: https://github.com/CodingTrain/Mastod...

References:
🦏 Mastodon: https://mastodon.social/about
🤖 Botsin.space server: https://botsin.space/about/more
💻 Mastodon API on npm: https://www.npmjs.com/package/mastodo...
💻 dotenv on npm: https://www.npmjs.com/package/dotenv

Videos:
🚂 Mastodon Playlist:    • Session 4: Mastodon API and Bots with...  

Timestamps:
0:00 Hiding API credentials
3:10 Grab environmental variables
4:51 Add .env file to gitignore

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://thecodingtrain.com/discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter:   / thecodingtrain  
📸 Instagram:   / the.coding.train  

🎥 Coding Challenges:    • Coding Challenges  
🎥 Intro to Programming:    • Start learning here!  

🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org

📄 Code of Conduct: https://github.com/CodingTrain/Code-o...

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...

#mastodon #dotenv #nodejs


Смотрите видео 4.3: Mastodon Bot - Environment Variables in Node with dotenv онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Coding Train 09 Октябрь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,854 раз и оно понравилось 184 людям.