Add YouTube API Key and hide in React App

When i create my first blog 2.5 years back, it was a React app which was using YouTube API. You can find the link for it here.

Now, i did the classic beginners mistake of pushing my youtube data API keys to github. I received a mail also from google to remove it.

So, i decided to remove them from public github. For this i first cloned my repo from github.

You can read the rest of the article on my blog site in the below link.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nabendu Biswas

Nabendu Biswas

Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger