How to Create and Use Environment Variables and the .env file in JavaScript in 7 Minutes

Опубликовано: 31 Октябрь 2024
на канале: Ijemma Onwuzulike
13,690
388

Environment variables are variables that allow you to hide information or data that you wouldn't want embedded directly in your application code. The most common way to use environment variables is with the .env file.

🎬 Subscribe to the channel! -    / @ijemmaonwuzulike  

Timestamps:

0:00 What are Environment Variables?
0:41 How to Create Environment Variables in the Terminal
2:15 What is the .env file?
3:12 How to use Environment Variables in a Project
4:28 dotenv npm package
5:12 Why use Environment Variables and .env files?

== Let's Connect ==
🐦 Twitter -   / ijemmaohno  

Icons made by Freepick and Flaticon from https://flaticon.com

== Who I Am ==
I'm Ijemma, a frontend software engineer currently working in New York City. I make videos on all things JavaScript and, more broadly, frontend web development.

#javascript #webdevelopment #softwareengineer