Загрузка...

Using DOTENV to hide Api Key in React JS | News App in React JS [ PART 5 ] | Inshorts clone

Lets Create a news app with React js which will be a replica of the famous short news web app Inshorts.com
In this part we will hide our api by using DOTENV (.env) and add environment variables in netlify

Source Code -
https://github.com/piyush-eon/react-news-app-inshorts-clone

newsapi.org
News Api (Replace apikey with yours)
https://newsapi.org/v2/top-headlines?country=in&apiKey=${apikey}&category=${category}

Material UI -
https://material-ui.com/

Видео Using DOTENV to hide Api Key in React JS | News App in React JS [ PART 5 ] | Inshorts clone канала RoadsideCoder
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять