Skip to content

Latest commit

 

History

History
78 lines (49 loc) · 1.63 KB

README.md

File metadata and controls

78 lines (49 loc) · 1.63 KB

NewsWallah - 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/prajwal-jadhav01/NewsWallah.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.