Skip to content

namandude/CNN-HEADLINES

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

CNN HEADLINES (News Website)

This project is a React-based news application built using React. It allows users to browse and search for news articles from various sources.

Screenshots

React News App Screenshort-1 React News App Screenshort-2

Features

  • View a list of latest news articles
  • Filter news articles by category
  • Search for specific news articles
  • Click on an article to view its details

Installation

  1. Clone the repository:

  2. Navigate to the project directory:

  3. Install dependencies:

Configuration

  1. Obtain an API key from a news service provider (e.g., NewsAPI).

  2. Add and replace <YOUR_API_KEY> with your actual API key:

  3. Open your web browser and navigate to http://localhost:5173.

Folder Structure

  • src: Contains the main source code files
  • components: Reusable React components
  • pages: Top-level pages of the application
  • services: API service for fetching news data
  • public: Public assets and index.html

Technologies Used

  • React: JavaScript library for building user interfaces
  • React Router: Routing library for React applications
  • Axios: HTTP client for making API requests y

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published