mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 07:59:39 +02:00
Central search microservice for all ManaCore apps featuring: - NestJS API on port 3021 - SearXNG meta-search engine integration (40+ search engines) - Redis caching layer for search results and extracted content - Content extraction with markdown conversion - Prometheus metrics for monitoring API Endpoints: - POST /api/v1/search - Web search with categories/engines - POST /api/v1/extract - Content extraction from URLs - POST /api/v1/extract/bulk - Bulk extraction - GET /health - Health check - GET /metrics - Prometheus metrics Search categories: general, news, science, it, images, videos Supported engines: Google, Bing, DuckDuckGo, Wikipedia, arXiv, GitHub, StackOverflow, and many more. https://claude.ai/code/session_01Rk3YVJCU3nM8uvVPghRz6r
23 lines
631 B
TypeScript
23 lines
631 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { ConfigModule } from '@nestjs/config';
|
|
import configuration from './config/configuration';
|
|
import { HealthModule } from './health/health.module';
|
|
import { MetricsModule } from './metrics/metrics.module';
|
|
import { CacheModule } from './cache/cache.module';
|
|
import { SearchModule } from './search/search.module';
|
|
import { ExtractModule } from './extract/extract.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
ConfigModule.forRoot({
|
|
isGlobal: true,
|
|
load: [configuration],
|
|
}),
|
|
HealthModule,
|
|
MetricsModule,
|
|
CacheModule,
|
|
SearchModule,
|
|
ExtractModule,
|
|
],
|
|
})
|
|
export class AppModule {}
|