Skip to content

NewzOne is a dynamic news aggregation platform using React to deliver seamless, real-time updates across business, entertainment, general news, health, science, sports, and technology categories. Integrated with NewsAPI, it features infinite scrolling, responsive design, customizable views, and detailed article metadata.

Notifications You must be signed in to change notification settings

Mridulbirla13/NewzOne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewzOne

NewzOne is a dynamic and user-centric news aggregation platform designed to keep users informed with the latest headlines across various categories such as business, entertainment, general news, health, science, sports, and technology. The platform leverages React for a seamless and interactive user experience and integrates with the NewsAPI to fetch real-time news articles from reliable sources.

Features

  • Category-Specific News: Navigate through Business, Entertainment, General, Health, Science, Sports, and Technology news.
  • Infinite Scroll: Continuous news article loading as you scroll.
  • Responsive Design: Mobile-friendly interface using Bootstrap.
  • Real-Time News Updates: Fetches the latest articles from NewsAPI.
  • News Summaries and Detailed Views: Quick summaries with options to read more.
  • Customizable Page Size: Adjust the number of articles displayed per page.
  • Article Metadata: Information such as author, date, and source for context.
  • Loading Spinner: Visual feedback during content fetching.

Technologies Used

  • Frontend: React
  • Styling: Bootstrap
  • Routing: React Router
  • API: NewsAPI

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/newzone.git
    cd newzone
  2. Install dependencies:

    npm install
  3. Run the app:

    npm start

Component Structure

  • App Component: Manages the main structure and routing.
  • Navbar Component: Navigation links to different news categories.
  • News Component: Fetches and displays news articles, handles infinite scroll.
  • NewsItem Component: Represents individual news articles with metadata.
  • Spinner Component: Displays loading spinner during data fetch.

API Key Setup

  1. Obtain an API key from NewsAPI.
  2. Create a .env file in the root directory of your project:
    REACT_APP_NEWS_API_KEY=your_api_key_here

Example .env File

REACT_APP_NEWS_API_KEY=your_api_key_here

About

NewzOne is a dynamic news aggregation platform using React to deliver seamless, real-time updates across business, entertainment, general news, health, science, sports, and technology categories. Integrated with NewsAPI, it features infinite scrolling, responsive design, customizable views, and detailed article metadata.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published