mustan-ali / NewsWire

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

About

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

License:MIT License


Languages

Language:JavaScript 71.7%Language:HTML 20.5%Language:CSS 7.9%