Hacked News
A secure news aggregation site powered by Hacker News API with Auth0 authentication and automated hourly article updates.
About This Project
Hacked News is a full-stack web application that aggregates the latest tech news from the Hacker News API. Users can browse articles, sign in via Auth0 OAuth, and like/dislike stories to curate their reading experience. The application features role-based access control with admin functionality for managing user interactions.
Built with security as a priority, the project achieved a 110/100 score on Mozilla Observatory through implementation of comprehensive security headers (CSP, HSTS, X-Frame-Options), HTTPS-only connections via Certbot SSL certificates, and SSH key-only server authentication. The system runs on a DigitalOcean Ubuntu droplet with Nginx as a reverse proxy and Gunicorn as the WSGI server.
The architecture includes a cron job that fetches 100 new articles every minute from the Hacker News API, automatically pruning articles older than 24 hours. User data and article preferences are persisted in SQLite3.