- Each article contains a photo, a headline, and a description. Upon clicking the
See More
button, users can then see the article's content, published date, and news source - Users can submit a word in the search bar and return a list of relevant news articles
- Users can save their favorite articles by selecting the
★
and the article is saved to their favorites, which can be found at theFavorites
link in the nav bar - Each set of articles, favorites, and search results has been paginated with a limit of five articles per page
To run this app, you will need Node.js and yarn installed on your environement
You will also need to get an API key from NewsAPI
$ git clone https://github.com/ajyan/the-buzz.git
$ cd client
$ npm install
Within the client directory, create a .env
file and paste in your News API Key as REACT_APP_NEWS_API_KEY = YOUR_KEY_HERE
$ npm start
The application will be running on port 3000
Within the client directory:
$ npm run build
$ serve -s build
The application will be running on port 5000
- React is used for UI
- Bootstrap as a basic styling framework
- Axios to handle client side requests to the News API