Skip to content

KUNJ1311/News-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News-Webapp using React.js with infinite-scroll

Screenshot (125) Screenshot (126)

Get API KEY

  1. Go to https://newsapi.org/
  2. Login or create an account
  3. Then click on your email-ID from navbar and you will be redirected to your account page and from there you can copy your API KEY.

Setup project

  1. Once you get API KEY you need to Create .env.local file in src folder.
// Replace <API KEY> to your key.
   REACT_APP_NEWS_API="<API KEY>"
  1. Run command npm install in terminal.
  2. Then run the command npm run start in terminal.