PulsePoint is a modern, user-friendly news aggregation platform designed to deliver stories from trusted sources without confusion or bias. It features a classic news portal layout, live trending updates, and categorized news feeds.
- Smart News Aggregation: Automatically fetches and categorizes top headlines from global sources via NewsAPI.org.
- Categorized Feeds: Specialized sections for Tech, Sports, Health, Science, Entertainment, and Nigeria.
- Trending Engine: Tracks article views and highlights trending stories in a dedicated "Mosaic" sidebar.
- Classic News Layout: Professional, responsive design inspired by top-tier news portals (BBC, NYT).
- User Accounts: Secure registration and login system using JWT authentication.
- Admin Publishing: (Backend ready) Infrastructure for admins to post, edit, and manage original articles.
- Frontend: HTML5, CSS3 (Grid/Flexbox), JavaScript (ES6+)
- Backend: Node.js, Express.js
- Database: MongoDB (Atlas)
- External APIs: NewsAPI.org (for aggregation)
PulsePoint/
βββ client/ # The Static Frontend
β βββ index.html # Home Page
β βββ login.html # Login page
β βββ register.html # Sign-up page
β βββ profile.html # Profile page
β βββ article.html # Article page
β βββ style.css # Global Styles
β βββ app.js # Frontend Logic & API Calls
β βββ assets/ # Images & Logos
βββ server/ # The Node.js Backend
β βββ models/ # Database Schemas
β βββ routes/ # API Endpoints
β βββ services/ # News Fetching Logic (Cron Jobs)
β βββ server.js # Entry Point
βββ vercel.json # Deployment Configuration
Clone the repository
git clone [https://github.com/yourusername/pulsepoint.git](https://github.com/yourusername/pulsepoint.git)
cd pulsepoint
cd server
npm install
npm start
Simply open client/index.html in your browser. Or use VS Code "Live Server" extension for the best experience.
To run this project, you will need to add the following environment variables to your .env file (locally) or Vercel project settings (deployment):
MONGO_URI: Your MongoDB Atlas connection string.
JWT_SECRET: A secret string for signing login tokens.
NEWS_API_KEY: Your API key from newsapi.org.
PORT: (Optional) Defaults to 5000.
Β© 2025 PulsePoint. All Rights Reserved.
