Skip to content

collins-kimotho/DailyTimes

Repository files navigation

DailyTimes

DailyTimes is a React-based web application that displays the latest news articles from various categories. The application fetches news data from the NewsAPI and allows users to filter news by categories such as Technology, Business, Health, Sports, and Entertainment.

Features

  • Category Filtering: Users can filter news articles by selecting different categories from the navigation bar.
  • Responsive Design: The application is designed to be responsive and works well on both desktop and mobile devices.
  • Dynamic Content: News articles are dynamically fetched and displayed based on the selected category.

Preview

alt text

Installation

  1. Clone the repository:
https://github.com/collins-kimotho/DailyTimes.git
cd DailyTimes
  1. Install dependencies:
npm install
  1. Set up environment variables*: create a .env file in root directory and add your NewsAPI key:
VITE_API_KEY = your_news_api_key

USage

  1. Run the development server:
npm run dev
  1. ** Build for production**:
npm run build
  1. Preview the production build
npm run preview

License

This project is licensed under the MIT License

About

A news website utilizing the News API, react library & bootstrap

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published