A dynamic news website that fetches and displays the latest news across various categories. Built using HTML, CSS, JavaScript, and Bootstrap, it integrates the Gnews API to provide real-time updates.
- 📰 Displays trending and latest news
- 📂 Categorized news sections (Politics, Sports, Technology, etc.)
- 📱 Fully responsive design for mobile and desktop
✔ How It Works:
-
✅ Cache validation:
Uses cached data if it’s available and less than 30 minutes old. -
🔄 Automatic refresh:
Clears outdated cache and fetches fresh news when needed. -
🗄️ Caching with MongoDB Uses MongoDB to store and retrieve recent news data, reducing unnecessary API requests and improving performance.
-
(Adding more features soon...)
This project is currently in development. More features will be added soon!
- HTML
- CSS
- JavaScript
- Bootstrap
- Gnews API
- Python Flask
- Mongo DB