Skip to content

NewsWallah is a React-based news application that allows users to explore top headlines from various categories. The app fetches data from the NewsAPI and presents it in a user-friendly format.

License

Notifications You must be signed in to change notification settings

Aditya733101/NewsHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

NewsHub - A News App

NewsWallah is a React-based news application that allows users to explore top headlines from various categories. The app fetches data from the NewsAPI and presents it in a user-friendly format.

Table of Contents

Features

  • Top Headlines: View the latest news headlines.
  • Category Filter: Explore news by different categories.
  • Pagination: Navigate through multiple pages of news articles.
  • Responsive Design: Enjoy a seamless experience on different devices.

Installation

  1. Clone the repository:

    git clone https://github.com/Aditya733101/NewsHub.git
  2. Navigate to the project directory:

    cd news-app
  3. Install dependencies:

    npm install

Usage

  1. Open src/components/App.js in your code editor.

  2. Replace the placeholder API key with your actual NewsAPI key:

    const apiKey = YOUR_API_KEY;
  3. Save the file.

  4. Start the development server:

    npm start
  5. Open your browser and visit http://localhost:3000 to view the app.

Tech Stack

  • React: Frontend library for building user interfaces.
  • Tailwind CSS: Utility-first CSS framework for styling.
  • NewsAPI: External API for fetching news data.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License.


About

NewsWallah is a React-based news application that allows users to explore top headlines from various categories. The app fetches data from the NewsAPI and presents it in a user-friendly format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published