A modern web application for viewing, managing, and sharing articles with AI-powered features.
- Document upload and management
- AI-powered cover image generation
- Cross-device synchronization
- Real-time updates
- Responsive design
- Search functionality
- Document metadata extraction
- Next.js 14
- React
- TypeScript
- Firebase/Firestore
- Cloudinary
- TailwindCSS
- Shadcn/ui
Create a .env.local file in the root directory with the following variables:
# Firebase Configuration
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_messaging_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
# Cloudinary Configuration
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your_cloud_name
NEXT_PUBLIC_CLOUDINARY_UPLOAD_PRESET=your_upload_preset- Clone the repository:
git clone <repository-url>
cd article-viewer- Install dependencies:
npm install- Set up environment variables:
- Copy
.env.exampleto.env.local - Fill in your Firebase and Cloudinary credentials
- Run the development server:
npm run dev- Open http://localhost:3000 with your browser to see the result.
The application is configured for easy deployment on Vercel:
- Push your code to a Git repository
- Import the project in Vercel
- Configure environment variables in Vercel dashboard
- Deploy!
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request