Skip to content

This is an Assignment Project. A web app to fetch and display news from a News API with search and sort features. It is made using React.js and CSS.

Notifications You must be signed in to change notification settings

sushantgwr87/NewsBreeze-GreedyGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greedy Games Assignment

A web app to fetch and display news from a News API with search and sort features. It is made using React.js and CSS.

Note: This API does not work on hosted urls for free that's why I couldn't provide any Heroku or Netlify hosted link. For Details check Netlify FAQ.

Development

Design Details and instruction were shared before which I followed to the most. This website is designed specifically for mobile devices only.

Project File Details

Home page

Design for Home Page of website. It fetches an array of data from given api and renders them using map and card component.

Card Component

This component is card design for Home page of web app. It takes one parameter which is card data from home page.

Bookmark and Saved Page

Both page have same design and render only bookmarked as well as saved articles respectively on their page. They both have offline search and sort filters.

Read Article Page

This Page shows complete article content of an specific article. Note Due to only limited free-access to local, only base content is fetched.

Features

  • Search option
  • Sorting Data by date and publication source
  • Cross platform
  • Caching Data for offline using Local Storage.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

REACT_APP_BACKEND_URL = https://newsapi.org/v2/everything?apiKey=(Your-API-Key)

You can get your own free/only local running API key from Joining News API.

Run Locally

Clone the project

  git clone https://github.com/sushantgwr87/NewsBreeze-GreedyGame

Go to the project directory

  cd NewsBreeze-GreedyGame

Install dependencies

  npm install

Start the server

  npm run start

Screenshots

App Screenshot App Screenshot App Screenshot App Screenshot App Screenshot

About

This is an Assignment Project. A web app to fetch and display news from a News API with search and sort features. It is made using React.js and CSS.

Topics

Resources

Stars

Watchers

Forks