The Newsfeed App provides users with the latest news updates from across India. By leveraging powerful API integrations, the app fetches top headlines and trending news from various categories such as business, sports, technology, and entertainment. Users can customize their news experience with keyword searches and source filters to get the most relevant updates tailored to their interests.
- Top Headlines: View the latest top headlines from various categories.
- Category Selection: Filter news by categories like business, sports, technology, etc.
- Keyword Search: Search for news articles using specific keywords.
- Source Filter: Filter news by specific news sources like BBC News, CNN, Times of India, etc.
- Weather Updates: Get current weather information for major Indian cities and search for weather updates by city name.
- Pagination: Navigate through pages of news articles for more extensive coverage.
- React: Front-end library for building the user interface.
- Axios: Promise-based HTTP client for making API requests.
- News API: Source of news articles.
- OpenWeatherMap API: Source of weather data.
- Bootstrap: Front-end framework for styling and layout.
-
Clone the repository:
git clone https://github.com/yourusername/newsfeed-app.git cd newsfeed-app
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the root directory and add your API keys:REACT_APP_NEWS_API_KEY=your_news_api_key REACT_APP_WEATHER_API_KEY=your_weather_api_key
-
Run the app:
npm start