create .env file and store your newsapi api_key & api_url
REACT_APP_NEWS_API_KEY = "YOUR_API_KEY"
REACT_APP_NEWS_API_URL = "https://newsapi.org/v2/"
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.