4ef03e52ea029c73d2e4fd750d0867336e048340
The bridge built hero, trending, featured, latest, and category rows from overlapping slices of the same post list, so the same thumbnails appeared many times. Reserve post ids top-to-bottom, over-fetch the main feed and category queries, and de-dupe the hero when stickies overlap the feed. Render the featured slice as its own banded section, localize the sports trending strip, and use distinct heading ids when two grids share the page. Co-Authored-By: Paperclip <[email protected]> Made-with: Cursor
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)
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
- Architecture + Stack Justification
- Frontend (Astro 5)
- Bridge (Fastify)
- Multi-Domain Config
- SEO Strategy
- Deployment (LXC)
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%