Welcome to React NewsApp, a dynamic web application that fetches and displays top headlines and search results using the GNews API.
React NewsApp leverages the GNews API to provide users with the latest news headlines based on country and category selections, as well as search queries.
- Top Headlines: View top news headlines from various categories.
- Search Functionality: Search for news articles based on keywords.
- Responsive Design: Access NewsApp on any device — desktop, tablet, or smartphone.
- Easy Navigation: User-friendly interface for seamless browsing.
Check out the live demo: React NewsApp Demo
- React
- JavaScript
- CSS
- GNews API
- API Domain: Find it from internet.
- API Key: Find it from intenet.
To run React NewsApp locally:
Clone this repository: git clone https://github.com/varnitsaxena7/news_app.git
Navigate to the project directory. Install dependencies:
Start the development server: npm start
Open your browser and visit: http://localhost:3000
Select a country and category to view top headlines. Use the search bar to search for news articles based on keywords. Click on news articles to read more details.
This project was developed by Varnit Saxena.