The News App is a React-based web application that fetches and displays the latest news articles using the News API. The app is styled with TailwindCSS for a modern and responsive design.
- Fetches news articles from the News API.
- Displays headlines, images, and descriptions.
- Responsive design using TailwindCSS.
- React.js - Frontend framework.
- TailwindCSS - Styling framework.
- News API - Provides the news data.
- Clone the repository:
git clone https://github.com/your-username/news-app.git cd news-app
- Install dependencies:
npm install
- Create a
.env
file in the root directory and add your News API key:REACT_APP_NEWS_API_KEY=your_api_key_here
- Start the development server:
npm run dev
- Open http://localhost:3000 in your browser.
- Navigate through different news categories.
- Use the search bar to find news articles.
- Click on an article to read more details.
To deploy the app, you can use platforms like Vercel or Netlify:
npm run build
Then, follow the hosting provider's instructions to deploy.
- Fork the repository.
- Create a new branch (
feature-new-feature
). - Commit your changes.
- Push to the branch.
- Open a Pull Request.
This project is open-source and available under the MIT License.
- News API for providing the news data.
- React.js for the frontend framework.
- TailwindCSS for styling.
- Category-based filtering (e.g., Business, Technology, Sports, etc.).
- Search functionality to find specific news articles.