- 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
- 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
Auto-resolved conflicts: merged main into task/BIT-350-bridge-api using -X theirs strategy (base branch version preferred in conflicts).
Please review the merge commit to verify correctness.
BitReport PR Conflict Resolver
**Auto-resolved conflicts**: merged `main` into `task/BIT-350-bridge-api` using `-X theirs` strategy (base branch version preferred in conflicts).
Please review the merge commit to verify correctness.
_BitReport PR Conflict Resolver_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
/categories, /categories/:slug, /trending, /api/tags, /api/media/:id,
/api/site-config, /health
Co-Authored-By: Paperclip [email protected]
Made-with: Cursor
Conflict auto-resolution failed: could not automatically merge
mainintotask/BIT-350-bridge-api. Manual intervention required.BitReport PR Conflict Resolver
Auto-resolved conflicts: merged
mainintotask/BIT-350-bridge-apiusing-X theirsstrategy (base branch version preferred in conflicts).Please review the merge commit to verify correctness.
BitReport PR Conflict Resolver