- Fastify + TypeScript service in bridge/ listening on port 3200 - WordPress REST API client with _embed support and data normalization - Redis stale-while-revalidate cache with in-process Map fallback - Domain routing: reads config/domains/<host>.json per Host header - Routes: /homepage, /articles, /articles/:slug, /articles/:slug/related, /categories, /categories/:slug, /trending, /api/tags, /api/media/:id, /api/site-config, /health - /api/posts and /api/categories aliases redirect to canonical routes - Rate limiting via @fastify/rate-limit; CORS via @fastify/cors - Error handling: WP unavailable → serve stale cache or 503 - Domain configs for localhost and newsproject.bitreport.pt Co-Authored-By: Paperclip <[email protected]> Made-with: Cursor
4 lines
25 B
Plaintext
4 lines
25 B
Plaintext
node_modules/
|
|
dist/
|
|
.env
|