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.
- 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.
-
Clone the repository:
git clone https://github.com/prajwal-jadhav01/NewsWallah.git
-
Navigate to the project directory:
cd news-app
-
Install dependencies:
npm install
-
Open
src/components/App.js
in your code editor. -
Replace the placeholder API key with your actual NewsAPI key:
const apiKey = YOUR_API_KEY;
-
Save the file.
-
Start the development server:
npm start
-
Open your browser and visit
http://localhost:3000
to view the app.
- React: Frontend library for building user interfaces.
- Tailwind CSS: Utility-first CSS framework for styling.
- NewsAPI: External API for fetching news data.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License.