Projects

NewsBite — Curated News

2024·2 min read

Next.js
TypeScript
Tailwind CSS
GitHub (opens in a new tab)

NewsBite is a news aggregation app built with React and TypeScript. It pulls articles from several news APIs into one feed that you can filter by category, date, keyword, source and author.

On this page14 sections
  • 🌟 Features
    • 1. Multi-Source News Integration
    • 2. Advanced Filtering System
    • 3. Responsive and Accessible Design
    • 4. Dark Mode Support
    • 5. Real-Time Updates
    • 6. Rich Article Cards
    • 7. Performance Optimized
    • 8. Error Handling and Loading States
    • 9. Customizable User Preferences
    • 10. Mobile-First Navigation
    • 11. Internationalization Ready
  • 📰 News APIs Used
  • 🛠️ Technologies Used

NewsBite is a news aggregation app built with React and TypeScript. It pulls articles from several news APIs into one feed that you can filter by category, date, keyword, source and author.

🌟 Features#

1. Multi-Source News Integration#

  • Aggregates news from multiple sources, including The New York Times API.
  • Unified article format for consistent presentation across different sources.

2. Advanced Filtering System#

  • Category Filter: Browse news by specific categories (e.g., technology, politics, sports).
  • Date Range Selection: Filter articles within a custom date range.
  • Keyword Search: Find articles containing specific keywords or phrases.
  • Source Filter: Focus on news from particular sources.
  • Author Filter: Find articles by specific journalists or authors.

3. Responsive and Accessible Design#

  • Responsive layout that adapts to different screen sizes and devices.
  • Follows accessibility best practices.

4. Dark Mode Support#

  • Toggle between light and dark themes.

5. Real-Time Updates#

  • Uses React Query for data fetching and caching.
  • Refetches automatically so the news stays current.

6. Rich Article Cards#

  • Article cards show images, titles, abstracts, and metadata.
  • Quick access to full articles via external links.

7. Performance Optimized#

  • Lazy loading and code splitting for faster initial load.
  • State management with Zustand.

8. Error Handling and Loading States#

  • Error handling with readable error messages.
  • Skeleton loading states.

9. Customizable User Preferences#

  • Persistent filters and settings using local storage.

10. Mobile-First Navigation#

  • Mobile navigation with a responsive header and mobile menu.

11. Internationalization Ready#

  • The structure is set up for adding more languages.

📰 News APIs Used#

NewsBite uses three news APIs:

  1. The New York Times API: Articles and breaking news from The New York Times.

    • NYT API Documentation
  2. The Guardian API: News articles from The Guardian and The Observer.

    • The Guardian API Documentation
  3. News API: Headlines from over 80,000 sources worldwide.

    • News API Documentation

🛠️ Technologies Used#

  • React
  • TypeScript
  • Vite
  • Tailwind CSS
  • React Query
  • Zustand
  • Axios
  • React Router
  • Shadcn UI
  • Docker

More projects

  • Multi-purpose AI helper2023 · React
  • JSON Converter2024 · React
  • Top Spotify songs since 20172023 · React
All projects
  • 🌟 Features
    • 1. Multi-Source News Integration
    • 2. Advanced Filtering System
    • 3. Responsive and Accessible Design
    • 4. Dark Mode Support
    • 5. Real-Time Updates
    • 6. Rich Article Cards
    • 7. Performance Optimized
    • 8. Error Handling and Loading States
    • 9. Customizable User Preferences
    • 10. Mobile-First Navigation
    • 11. Internationalization Ready
  • 📰 News APIs Used
  • 🛠️ Technologies Used