3d4b129b4c63314d34a3f4f1aa480bc48d05cbc0
Tests / writer-pipeline tests (push) Failing after 1s
Tests / bridge tests (push) Failing after 1s
Tests / frontend lib tests (push) Failing after 1s
Tests / writer-pipeline tests (pull_request) Successful in 52s
Tests / bridge tests (pull_request) Successful in 25s
Tests / frontend lib tests (pull_request) Successful in 29s
87 new tests covering previously untested pure functions: - writer-pipeline: token-metrics, store (canonicalUrl/itemId/upsertItem/shortlist), config-load - bridge: ranking (freshness/relevance/rank/filter/take_top_n), aggregator-mapper - frontend/lib: format, ui-i18n, public-origin Adds test:coverage scripts (node --experimental-test-coverage) and Gitea CI workflow. writer-pipeline now reports 95.91% line coverage. Co-Authored-By: Paperclip <[email protected]>
news-platform
Scalable multi-domain sports news platform — Astro 5 SSR frontend, Fastify bridge, headless WordPress.
Structure
news-platform/
frontend/ # Astro 5 SSR frontend application
bridge/ # Fastify bridge (WordPress REST API cache + normalizer)
writer-pipeline/ # RSS aggregator store, metrics, optional WP drafts (andebol.net)
wordpress/ # WordPress config, themes, plugins
config/domains/ # Per-domain configuration files
docs/ # Architecture and runbooks
deploy/ # LXC provisioning and deploy scripts
Quick Start
# 1. Start WordPress + MySQL
cd wordpress && docker compose up -d
# 2. Start bridge
cd bridge && npm install && npm run dev
# 3. Start frontend
cd frontend && npm install && npm run dev
Open: http://localhost:4321
Documentation
Core
- Architecture + Stack Justification
- Frontend (Astro 5)
- Bridge (Fastify)
- Multi-Domain Config
- SEO Strategy
- Deployment (LXC)
- Service Monitoring
- Runbooks (index)
Aggregator & Writer Pipeline
- Aggregator Architecture & Data Contract
- Aggregator Operations & Costs
- Writer Pipeline — andebol.net
- Writer Tools — Content Aggregation & Ranking
- Editorial Brief — andebol.net
Internationalisation
Related
- Paperclip project: News Platform
- Parent issue: BIT-345
- Gitea remote:
https://git.bitreport.pt/BitReport.pt/news-platform.git
Description
Scalable multi-domain sports news platform (frontend + WP bridge + SEO + LXC deploy)
4.6 MiB
0 Stars
32 Watchers
0 Forks
Languages
TypeScript
51.2%
Astro
38.9%
Shell
6.4%
CSS
2.2%
JavaScript
1.3%