This project uses PostgreSQL (rather than PocketBase) for simpler operations, reliability, and deployment.
A full-stack news aggregation platform that pulls articles from 4 Aotearoa New Zealand news sources, stores them in PostgreSQL, and displays them in a modern React interface.
See the quickstart guide for full setup and installation instructions.
For the containerized stack, run scripts/start-compose.ps1. For Azure, follow Azure full-stack setup (GitHub Actions or scripts/deploy-azure.ps1).
- π 4 Active Scrapers extracting 80 articles (20 from each source)
- β¨ RSS + HTML Parsing for reliable article extraction
- π Auto-discovery system for easy scraper registration
- π£ Template system for adding new sources quickly
- π React Frontend with modern UI
- π ASP.NET Core Backend with REST API
- πΎ PostgreSQL for persistent relational storage
| Source | Type | Articles | Status |
|---|---|---|---|
| Stuff NZ | RSS | 20+ | π Working |
| RNZ | RSS | 20+ | π Working |
| 1News NZ | RSS | 20+ | π Working |
| NZ Herald | HTML (Semantic) | 20+ | π Working |
- Frontend: React + Vite (Azure:
newsagg-uiApp Service + ACR) - Backend: ASP.NET Core 10 Web API
- Scraper: Python 3.13+ with BeautifulSoup & feedparser
- Database: PostgreSQL 17
newsagg/
βββ frontend/ # React frontend
β βββ src/ # React components & styles
βββ backend/ # .NET Web API
β βββ NewsAggregator.Api/
β βββ Controllers/ # API endpoints
β βββ Models/ # Data models
β βββ Services/ # Business logic
βββ scraper/ # Python web scraper
β βββ scrapers/ # 4 individual scrapers
β βββ scrapers/base_scraper.py # Base template class
β βββ services/ # API communication
β βββ debug/ # Test & debug utilities
βββ docs/ # Documentation
βββ Quickstart.md # Setup guide
βββ NewsSources.md # Add new scrapers
βββ APIDoc.md # API reference
