This project is a React application that displays top news headlines from various news sources. The app fetches data from the NewsAPI and displays it in a user-friendly format.
- Clone the repository:
git clone https://github.com/your-username/react-top-news-headlines.git
- Install dependencies:
npm install
To start the development server, run:
npm start
This will start the app at http://localhost:3000 in your web browser.
- Display top news headlines from various news sources
- View individual articles by clicking on a headline
- Filter articles by news source
- Search for articles by keyword
- React
- React Router
- Axios
- NewsAPI
Contributions to the project are welcome! To contribute:
- Fork the repository
- Create a new branch:
git checkout -b my-branch-name
- Make changes and commit them:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-branch-name
- Create a pull request
This project is licensed under the MIT License. See the LICENSE file for more information.
Thanks to NewsAPI for providing the news data used in this app.