🚀 Initial commit: Biveki Day Bot with Docker deployment

 Features:
- 🤖 Telegram bot for task management between programmer and girlfriend
- 📝 Task creation with types (personal/shared) and priorities
-  Time-based reminders and notifications
- 📊 Statistics and progress tracking
- 🤝 Shared tasks for couples

🛠 Tech Stack:
- Backend: NestJS + TypeScript
- Database: PostgreSQL + TypeORM
- Bot: Telegraf
- Deployment: Docker + Docker Compose

🐳 Docker Deployment:
- Multi-stage Dockerfile for optimized builds
- Docker Compose with environment variables
- Health checks and automatic restarts
- Production-ready configuration

📦 Files included:
- Complete NestJS application
- Docker deployment configuration
- Environment variables setup
- Deployment scripts and documentation
- Health monitoring and logging
This commit is contained in:
Bivekich
2025-06-26 21:40:27 +03:00
commit 0ce19f8182
27 changed files with 15641 additions and 0 deletions

40
src/app.module.ts Normal file
View File

@ -0,0 +1,40 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ScheduleModule } from '@nestjs/schedule';
import { ConfigModule } from '@nestjs/config';
import { AppController } from './app.controller';
import { AppService } from './app.service';
// Entities
import { User } from './entities/user.entity';
import { Task } from './entities/task.entity';
// Services
import { UserService } from './services/user.service';
import { TaskService } from './services/task.service';
import { TelegramBotService } from './services/telegram-bot.service';
import { ReminderService } from './services/reminder.service';
// Config
import { databaseConfig } from './config/database.config';
@Module({
imports: [
ConfigModule.forRoot({
isGlobal: true,
}),
TypeOrmModule.forRoot(databaseConfig),
TypeOrmModule.forFeature([User, Task]),
ScheduleModule.forRoot(),
],
controllers: [AppController],
providers: [
AppService,
UserService,
TaskService,
TelegramBotService,
ReminderService,
],
})
export class AppModule {}