- docs/architecture.md: full architecture with Astro 5 SSR vs Next.js/Nuxt justification, component diagram, data flow, multi-domain routing, SEO strategy, performance targets, and caching strategy - docs/frontend.md, bridge.md, domains.md, seo.md, deployment.md: stubs with implementation detail for each layer - config/domains/newsproject.bitreport.pt.json: first domain config - project skeleton: frontend/, bridge/, wordpress/, config/, deploy/ Covers BIT-348 deliverables. Push pending Gitea repo creation. Co-Authored-By: Paperclip <[email protected]>
1.2 KiB
1.2 KiB
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