How to use environment variables with Node.js - dotenv tutorial

preview_player
Показать описание

Today I am going to show you how to use it, and I will plug in a very simple example at the end.

Chapters:
0:00 Introduction:
0:56 Initialise a new project
3:15 Exploring .env
7:09 Simple Example
10:03 Ending

Credit:
Photo by SCREEN POST on Unsplash

Discounts:

Recording Equipment:

Computer Gear:

Connect with me:

#NodeJS #ENV
Рекомендации по теме
Комментарии
Автор

I just started learning Node.js and back-end and it was so confusing to understand environment usage and actually figuring out that what it is, this video was so helpful and easy to understand! thanks a lot!

ghazalehheravi
Автор

That monitor set up is blazing!!!! Brother thank you so much and much love from New Orleans!

TjSpoonManJacques
Автор

Thanks for the video Raddy!!! Made the whole process of env vars really convenient for me!

dhawalraturi
Автор

Thanks a lot for the video ! You deserve so much more views !

zuruh
Автор

thank youu sooo much for this type of videos....it helped me a lot....sooo please keep uploading videos ....

jatilyadav
Автор

how to do this for client side js files?

sanketh
Автор

So why dont we just save all these variables in a json file ? thanks

anonymous-jeih
Автор

LIKED - SUB - AND SHARED WITH MY TRADING FAM!

TjSpoonManJacques
Автор

randy put a tutorial on node.js + MySQL image upload crud

shastiraagav
Автор

This was cool... But in the real world Google gives you api keys in .Json files. GLITCH gives you a .data folder in which you could put that file and then set the .env variable to the path of that file. So how may I store the .json file? is there anything like a .env folder? or does nodeJs have anything like a .data folder that can be hidden?

yoapps