Skip to content

Adarsha59/news-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<<<<<<< HEAD

React News App with API Fetch

Overview

This is a practice news application built with React that utilizes API calls to fetch and display news articles. The app is designed to showcase the integration of React components, state management, and asynchronous data fetching.

Features

  • Fetches news articles from a third-party API.
  • Displays a list of news articles with titles, descriptions, and images.
  • Implements pagination to navigate through multiple pages of news.

Technologies Used

  • React: JavaScript library for building user interfaces.
  • NewsAPI: Provides a simple API to access a wealth of news articles from various sources.

Project Structure

The project follows a standard React application structure:

  • News.js: The main component that manages the state, fetches data from the API, and renders the news articles.
  • NewsItems.js: Sub-component responsible for rendering individual news items.
  • Loading.js: Sub-component to display a loading indicator.

Setup

  1. Clone the repository:

    git clone <repository-url>
    npm install
    npm start
    

Note: Replace <repository-url> with the actual URL of your Git repository if applicable. This Markdown file serves as documentation for your practice news app project.

=======

news-app

origin/main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published