Skip to content

Commit

Permalink
feat(frontend): serve news as static json file, drop all Telegram API…
Browse files Browse the repository at this point in the history
… dependencies
  • Loading branch information
dr460nf1r3 committed Jan 3, 2025
1 parent c610b14 commit 44c007f
Show file tree
Hide file tree
Showing 17 changed files with 3,382 additions and 35,743 deletions.
2 changes: 0 additions & 2 deletions backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { RepoManagerModule } from './repo-manager/repo-manager.module';
import { RouterModule } from './router/router.module';
import { UsersModule } from './users/users.module';
import { ThrottlerModule } from '@nestjs/throttler';
import { TelegramModule } from './telegram/telegram.module';
import { ScheduleModule } from '@nestjs/schedule';
import { GitlabModule } from './gitlab/gitlab.module';

Expand All @@ -32,7 +31,6 @@ import { GitlabModule } from './gitlab/gitlab.module';
RepoManagerModule,
RouterModule,
ScheduleModule.forRoot(),
TelegramModule,
TerminusModule,
ThrottlerModule.forRoot([
{
Expand Down
3 changes: 0 additions & 3 deletions backend/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ export const requiredEnvVarsProd: string[] = [
'REDIS_PASSWORD',
'REDIS_SSH_HOST',
'REDIS_SSH_USER',
'TELEGRAM_API_HASH',
'TELEGRAM_API_ID',
'TELEGRAM_DB_ENCRYPTION_KEY',
];

export const requiredEnvVarsDev: string[] = ['PG_DATABASE', 'PG_HOST', 'PG_PASSWORD', 'PG_USER', 'REDIS_PASSWORD'];
Expand Down
71 changes: 0 additions & 71 deletions backend/src/telegram/telegram.controller.ts

This file was deleted.

14 changes: 0 additions & 14 deletions backend/src/telegram/telegram.module.ts

This file was deleted.

Loading

0 comments on commit 44c007f

Please sign in to comment.