$ show sourcefuse/loopback4-microservice-catalog
This is a large TypeScript monorepo for Sourceloop, a LoopBack 4-based microservices platform for building multi-tenant enterprise SaaS applications. It contains 14+ pre-built microservices covering authentication, audit, notification, chat, scheduler, payment, survey, search, video-conferencing, BPMN/workflow, task management, reporting, feature toggles, OIDC, and user-tenant management. Each service is packaged as a pluggable LoopBack component with controllers, models, repositories, providers, and database migrations for both PostgreSQL and MySQL. The repo also includes reusable cross-cutting packages for caching, observability, file uploads, feature flags, and a CLI for scaffolding new microservices and UI projects, plus many sandbox example applications demonstrating real-world integrations.
The LLM identified 4 files worth highlighting for reuse:
Dynamically generates REST client proxies for related model endpoints, allowing services to resolve relations across service boundaries without direct database access. This is a non-obvious, self-contained pattern for composing microservices while preserving relation semantics.
A repository mixin that adds transparent caching with TTL, invalidation tags, and pluggable store strategies (Redis or in-memory). It can be applied to any LoopBack repository with minimal changes, making it a strong reusable component for performance-sensitive services.
A registry for observability profiles supporting Datadog, New Relic, OTLP, and SigNoz, with config validation and auto-instrumentation. This cleanly abstracts vendor-specific tracing setup and can be extracted into other Node.js projects with minimal adaptation.
Builds parameterized PostgreSQL search queries from model metadata and filters, handling joins, pagination, and full-text search. It demonstrates non-obvious SQL generation and is reusable as a foundation for search features in other LoopBack or Node.js services.