A real-time analytics system that tracks and visualizes the websties shared on Hacker News by count.
This project fetches the latest stories from Hacker News, processes them through a Kafka message stream, aggregates domain statistics, and displays the results in an interactive visualization.
- Real-time domain popularity tracking
- Kafka-based data processing pipeline
- RESTful API for domain statistics
- Responsive web interface
The system consists of:
- Backend: Rust service that fetches from HackerNews API and processes data through Kafka
- Frontend: React application with D3.js visualizations
- Kafka: Message broker for reliable data streaming
- Docker: Containerization for easy deployment
- Docker and Docker Compose
# Frontend stack
docker-compose -f docker-compose-fe.yml up --build
# Backend stack
docker-compose -f docker-compose-kafka.yml up -dThis command starts all necessary services:
- Kafka and Zookeeper
- Backend processor
- Frontend web application
/api/top-domains- Returns the most referenced domains and their counts/api/healthcheck- Service health endpoint
MIT