A modern, feature-rich news portal built with Next.js 14, Firebase, and Tailwind CSS. Designed to deliver a seamless news reading experience in Hindi and English.
- 📰 Breaking news section with real-time updates
- 🌐 Bilingual support (Hindi and English)
- 📱 Fully responsive design for all devices
- 🔍 Advanced search functionality
- 📂 Category-based news organization
- 🎯 Personalized news feed
- 💬 Social media integration
- 🔔 Push notifications for breaking news
- 📊 Comprehensive admin dashboard
- ✍️ Rich text editor for content creation
- 📁 Category management system
- 🖼️ Media management with Cloudinary integration
- 📈 Analytics and traffic monitoring
- 👥 User role management
- 💾 Automated backup system
- 🔄 Content versioning
- ⚛️ Next.js 14 (App Router)
- 🎨 Tailwind CSS for styling
- 🧩 Shadcn UI Components
- 📝 TipTap Rich Text Editor
- 🔄 SWR for data fetching
- 🔥 Firebase
- Firestore for database
- Authentication
- Cloud Functions
- Storage
- ☁️ Cloudinary for media management
- 📊 Firebase Analytics
- Node.js 18.x or later
- PNPM package manager
- Firebase account
- Cloudinary account
- Clone the repository:
git clone https://github.com/WebCodeXorg/test.git
cd test- Install dependencies:
pnpm install- Set up environment variables:
Create a
.env.localfile with the following:
NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_auth_domain
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_storage_bucket
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your_cloud_name
NEXT_PUBLIC_CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret- Run the development server:
pnpm devThe application will be available at http://localhost:3000
pnpm build
pnpm start├── app/ # Next.js app router pages
├── components/ # Reusable components
│ ├── admin/ # Admin dashboard components
│ └── ui/ # UI components (shadcn)
├── contexts/ # React contexts
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and configs
├── public/ # Static assets
└── styles/ # Global styles
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Project Link: https://github.com/WebCodeXorg/test