Skip to content

A modern news aggregation application built with Next.js, featuring multi-language support and customizable themes.

Notifications You must be signed in to change notification settings

kdetry/nextjs-news-list

Repository files navigation

Next.js News Aggregator

A modern news aggregation application built with Next.js, featuring multi-language support and customizable themes.

Application Preview

Features

  • 🌐 Multi-language news support
  • 🎨 Light/Dark theme switching
  • 📱 Responsive design
  • ⚡ Server-side rendering
  • 🔍 Topic-based news filtering
  • ⚙️ Customizable settings

Tech Stack

Getting Started

  1. Clone the repository:
git clone <your-repo-url>
  1. Install dependencies:
npm install
# or
yarn install
# or
pnpm install
  1. Create a .env.local file in the root directory and add your environment variables:
# Add any required API keys or configuration
  1. Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
  1. Open http://localhost:3000 with your browser to see the result.

Project Structure

├── app/
│   ├── api/           # API routes
│   ├── settings/      # Settings page
│   └── layout.tsx     # Root layout
├── components/        # Reusable components
├── public/           # Static assets
└── ...

Key Components

  • ThemeProvider - Manages application theme state
  • Sidebar - Navigation and layout component
  • LanguageButton - Language selection interface
  • ContainerWrapper - Layout wrapper component

API Routes

  • /api/news - Main news endpoint
  • /api/news/[language]/[topic] - Language and topic-specific news

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform.

Check out the Next.js deployment documentation for more details.

About

A modern news aggregation application built with Next.js, featuring multi-language support and customizable themes.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published