/NewsWire

The NewsWire app, built using React JS, enables users to view news from a variety of categories through newsapi.org.

Primary LanguageJavaScriptMIT LicenseMIT

NewsWire

Setting up the .env.local file

To use the NewsAPI in your application, you need to set up a .env.local file in the root of your project and replace "Your API Key" with your actual API key obtained from newsapi.org.

  1. Create a new file named .env.local in the root of your project.

  2. Open the .env.local file and add the following content, replacing "Your API Key" with your actual NewsAPI key:

REACT_APP_NEWS_API_KEY='Your API Key'