Welcome to NewsApiWalaApp! This is a simple application that leverages the News API to fetch and display news articles from various sources.
To get started with the NewsApiWalaApp, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/AnimeshA867/NewsApiWalaApp.git
-
Navigate to the project directory:
cd NewsApiWalaApp
-
Install the project dependencies:
npm install
-
Obtain an API key from News API by creating an account and subscribing to their service.
-
Create a
.env
file in the root directory of the project and add your API key:API_KEY=YOUR_NEWS_API_KEY
-
Start the application:
npm start
This will launch the application locally. You can access it in your browser at
http://localhost:3000
.
- Fetches news articles from various sources using the News API.
- Displays articles with their title, description, source, and publication date.
- Allows users to filter news by source or search for specific keywords.
- React: JavaScript library for building user interfaces.
- Axios: Promise-based HTTP client for making API requests.
- Bootstrap: Front-end framework for responsive and mobile-first web development.
Contributions to the NewsApiWalaApp are welcome! If you find a bug or have a suggestion for improvement, please open an issue or submit a pull request. Make sure to follow the existing code style and provide clear commit messages.
This project is licensed under the MIT License.