mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
Implement custom NestJS API Gateway for mana-search, mana-stt, and mana-tts: - API Key management with CRUD operations and key regeneration - Redis-based sliding window rate limiting - Credit-based billing with tier support (free, pro, enterprise) - Usage tracking with daily aggregates - Proxy services to backend microservices - Prometheus metrics endpoint - JWT auth for management API, API key auth for public API Database schema uses separate `api_gateway` schema in shared manacore DB.
6 lines
166 B
TypeScript
6 lines
166 B
TypeScript
import { createDrizzleConfig } from '@manacore/shared-drizzle-config';
|
|
|
|
export default createDrizzleConfig({
|
|
dbName: 'manacore',
|
|
schemaFilter: ['api_gateway'],
|
|
});
|