Skip to content

Latest commit

 

History

History
67 lines (56 loc) · 1.83 KB

README.md

File metadata and controls

67 lines (56 loc) · 1.83 KB

News App

Overview

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.

Features

  • Fetches news articles from the News API.
  • Displays headlines, images, and descriptions.
  • Responsive design using TailwindCSS.

Tech Stack

  • React.js - Frontend framework.
  • TailwindCSS - Styling framework.
  • News API - Provides the news data.

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/news-app.git
    cd news-app
  2. Install dependencies:
    npm install
  3. Create a .env file in the root directory and add your News API key:
    REACT_APP_NEWS_API_KEY=your_api_key_here
  4. Start the development server:
    npm run dev
  5. Open http://localhost:3000 in your browser.

Usage

  • Navigate through different news categories.
  • Use the search bar to find news articles.
  • Click on an article to read more details.

Deployment

To deploy the app, you can use platforms like Vercel or Netlify:

npm run build

Then, follow the hosting provider's instructions to deploy.

Contributing

  1. Fork the repository.
  2. Create a new branch (feature-new-feature).
  3. Commit your changes.
  4. Push to the branch.
  5. Open a Pull Request.

License

This project is open-source and available under the MIT License.

Acknowledgments


To Do

  • Category-based filtering (e.g., Business, Technology, Sports, etc.).
  • Search functionality to find specific news articles.