Flash News is a Next.js application for browsing live headlines across world, business, technology, and specialty sections.
- Live article feeds using NewsAPI (
NEWS_API_KEY) - Fallback article set when API data is unavailable
- Category and topic pages with reusable
NewsPagelayout - Mobile-friendly navigation with section dropdowns
- Auto-refresh support for near real-time updates
- Light/dark theme toggle (floating action button)
- Theme persistence via
localStorage - Automatic fallback to system theme (
prefers-color-scheme)
- Home:
/ - World:
/world - Business:
/business - Politics:
/politics - Sports:
/sports - Technology:
/technology/tech-news - AI and ML:
/technology/ai - Blockchain:
/technology/blockchain - Crypto:
/technology/crypto - Health:
/health - Science:
/science - Astronomy:
/astronomy - Media:
/media - Car Industry:
/car-industry - Share Market:
/share-market - About:
/about
- Install dependencies:
npm install- Add env values in
.env.local:
NEWS_API_KEY=your_key_here- Run dev server:
npm run dev- Build for production:
npm run build- Next.js 15
- React 19
- TypeScript
- Tailwind CSS
- Zustand