Warning: is_dir(): open_basedir restriction in effect. File(/home/adsmembe/domains/adsmember.com/public_html/wp-content/plugins/wpdiscuz/themes/default) is not within the allowed path(s): (/www/wwwroot/adsmember.com/:/tmp/) in /www/wwwroot/adsmember.com/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php on line 139



According to researches by the adsmember team
इस पाठ में, हम पर्यावरण चर का उपयोग करके एपीआई कुंजी को कैसे छिपा सकते हैं और गिटहब पर कोड को कैसे खोल सकते हैं, इसे संबोधित करेंगे। मैं

डॉटनव:

गिटहब:

? अगला पाठ:

? पिछला पाठ:

पूरा कोर्स: ? गिट और गिटहब:

वेबसाइट:

पैट्रियन:

स्टोर:

पुस्तकें:

कोडिंग चुनौतियां: प्रोग्रामिंग का परिचय: ? p5.js:

प्रसंस्करण:

आचार संहिता:

source

Rate us
0 0 votes
Article Rating
Subscribe
Notify of
guest
39 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
spazey
spazey
1 year ago

you're a legend dude this is a life saver

Ryan V
Ryan V
1 year ago

“cant host it there” enter git pages ?

Noco
Noco
1 year ago

Thank you very much for your explanation ?

Ashy
Ashy
1 year ago

are .env not rendered to the browser then or something? What is to stop someone from viewing the app in their browser and fetching your API key out of the rendered JS with inspect element?

Hargur
Hargur
1 year ago

Thanks a lot! This has been a lifesaver

iLearnCode
iLearnCode
1 year ago

From a “security/ privacy” standpoint, how is this any better than just having a js file with a variable for thr api key in it?

Philson
Philson
1 year ago

Is it secure deploying it tho

ABIGIYA TADESSE
ABIGIYA TADESSE
1 year ago

Thanks so much this is helpful.

Gideon Aswani
Gideon Aswani
1 year ago

Awesome, thanks

Zeyad Ahmed Samer
Zeyad Ahmed Samer
1 year ago

no words can describe your awesome explanation

Nicetomeetu Gaming
Nicetomeetu Gaming
1 year ago

BTW you are amazing teacher!

Nicetomeetu Gaming
Nicetomeetu Gaming
1 year ago

Amazing video sir!

Janac Meena
Janac Meena
1 year ago

2:00 start
5:30 Create a sample .env
Make sure .gitignore has .env listed

Akram Syed
Akram Syed
1 year ago

i am first here and very impresed they way you teach , ke

instin queue
instin queue
1 year ago

Thanks ?

Silvana Palazzi
Silvana Palazzi
1 year ago

Does not work with angular though 🙁

Xtree
Xtree
1 year ago

I exactly landed where i wanted to be. I was just looking for this

Lorenzo Monaco
Lorenzo Monaco
1 year ago

Always amazing energy! But I have a question, I've add .env to git ignore, I've push the git to the remote, everything fine. But now there's no .env also on my local machine. Someone that know why?

Shahrukh Khan
Shahrukh Khan
1 year ago

https://youtu.be/u1BO25YUeRc

This video is about a complete solution for managing environment variables in Node.js without dotenv or any third package.

Use in Dev, Prod, UAT or any other environment without any issue.

Mohammed Raqeeb
Mohammed Raqeeb
1 year ago

Great explanation

PythonProgrammi
PythonProgrammi
1 year ago

1:21 it stars here

ABID SIRAJ
ABID SIRAJ
1 year ago

tell me how to find that api keys again on GitHub??

kingsley
kingsley
1 year ago

Thank you so much. You saved my day with this explanation

Skrillex ///
Skrillex ///
1 year ago

Thanks for this playlist. Really helped

Edgar Britez
Edgar Britez
1 year ago

Awesome content and explanation, thanks man!

Brijnoor  Sahni
Brijnoor Sahni
1 year ago

Can this be used in the front-end with angular?

Carlos Duque
Carlos Duque
1 year ago

Why when you put the node_modules in the .gitignore file you put a / in front of it?

gica
gica
1 year ago

Uncaught ReferenceError: require is not defined

Reverend BlueJeans
Reverend BlueJeans
1 year ago

I am trying to use Json from google translate

Ahmad Bad
Ahmad Bad
1 year ago

sir, are u gay?

Youtuberkulose
Youtuberkulose
1 year ago

hm the thing I am wondering is, when you pull environment variables (e.g for http requests) out of the environment file, will those values not be seen as cleartext in the code, e.g when you send a network request somewhere?

Ankur Khandelwal
Ankur Khandelwal
1 year ago

What if index.js and .env are in different folders?

Anil Kuppa
Anil Kuppa
1 year ago

I see that we can do without require by using node -r. Can you explain how to do it?

Mohamed A. Dahab
Mohamed A. Dahab
1 year ago

thanx man , this was helpful

Limitless Entertainment
Limitless Entertainment
1 year ago

Super helpful video!

PepeW
PepeW
1 year ago

But your API key is still visible in the sources og the project right ?

ONM Roman
ONM Roman
1 year ago

You helped me

Tega ogheneovo
Tega ogheneovo
1 year ago

So keep working on my project and when I want to deploy hide all my keys and db names thank you ?

Lancer
Lancer
1 year ago

I read api keys are included in react build.
Is that’s true or we can really hide api keys using this tutorial?

39
0
Would love your thoughts, please comment.x
()
x