mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 04:29:40 +02:00
Adds a NestJS service that delivers Umami analytics via Telegram: - Telegram commands: /start, /stats, /today, /week, /realtime, /users - Scheduled reports: Daily at 9:00, Weekly on Monday at 9:00 - Umami API integration with token management - User statistics from auth database - Docker + CI/CD pipeline integration Bot: @stats_mana_bot Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
237 B
TypeScript
13 lines
237 B
TypeScript
import { Controller, Get } from '@nestjs/common';
|
|
|
|
@Controller()
|
|
export class HealthController {
|
|
@Get('health')
|
|
health() {
|
|
return {
|
|
status: 'ok',
|
|
service: 'telegram-stats-bot',
|
|
timestamp: new Date().toISOString(),
|
|
};
|
|
}
|
|
}
|