Engineering decisions
Key decisions
• Split into single-purpose NestJS services (main API, payments, mailer, notification, auth) communicating over Kafka topics (e.g. 'notification-topic', 'moderation') - backend-mailer/notification-service/nest-be-v2 src.
• Gateway pattern: nginx using auth_request to an auth service and passing user details/access token headers upstream; map $host -> backend, dynamic upstream resolution so a missing upstream doesn't block startup (api-nginx/conf/*.conf).
• Redis cache layer in front of Strapi to cut CMS load (cms-cache, cms-cache-gql).