Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📰 React News App

A responsive news application built with React that fetches and displays live headlines from around the world using the NewsAPI. Filter news by category and stay updated in real time.

🔗 Live Demo: (Coming Soon) 📂 GitHub: github.com/myasirweb/React_NewsApp


✨ Features

  • Live news headlines fetched from NewsAPI
  • Filter news by category — Business, Technology, Sports, Entertainment, Health, Science
  • Responsive card-based layout
  • Loading spinner during API fetch
  • Infinite scroll / pagination
  • Clean, minimal UI

🧰 Tech Stack

Layer Technology
Frontend React.js
API NewsAPI.org
Styling Bootstrap / CSS3
HTTP Client Fetch API

🚀 Getting Started

Prerequisites

  • Node.js >= 16
  • NewsAPI key — get free at newsapi.org

Installation

git clone https://github.com/myasirweb/React_NewsApp.git
cd React_NewsApp
npm install

Create .env in root:

REACT_APP_NEWS_API_KEY=your_newsapi_key_here
npm start    # Starts on http://localhost:3000

👨‍💻 Author

Muhammad Yasir — Frontend Engineer 🌐 yasir-portfolio-nextjs.vercel.app 💼 linkedin.com/in/yasirweb 📧 muhammad.yasir1368@gmail.com


📄 License

MIT License

About

A responsive React News App that fetches live headlines from a public news API. Built with React, Axios, routing, and dynamic category filtering.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages