вот app.module.ts
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { PrismaModule } from '@prisma/prisma.module';
import { APP_GUARD } from '@nestjs/core';
import { JwtAuthGuard } from '@auth/guards/jwt-auth.guard';
import { ConfigModule } from '@nestjs/config';
import { BacklinksModule } from './backlinks/backlinks.module';
import { FastCheckModule } from './fast-check/fast-check.module';
import { MainLinksModule } from './main-links/main-links.module';
import { GoogleSearchContentModule } from './google-search-content/google-search-content.module';
import { UsersModule } from '@users/users.module';
import { AuthModule } from '@auth/auth.module';
import { ProjectsModule } from './projects/projects.module';
import { PageParserModule } from './page-parser/page-parser.module';
import { BullModule } from '@nestjs/bull';
// import { PageParserService } from './page-parser.service';
// import { ParsersModule } from './parsers/parsers.module';
// import { ParsersModule } from './parsers/parsers.module';
// import { ParsersQueueModule } from './parsers-queue/parsers-queue.module';
// import { BullWorkerService } from './bull-worker/bull-worker.service';
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'yxatdan o'tish',`descriptio' at line 1. Подозреваю что это из-за апастрофов в тексте
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { PrismaModule } from '@prisma/prisma.module';
import { APP_GUARD } from '@nestjs/core';
import { JwtAuthGuard } from '@auth/guards/jwt-auth.guard';
import { ConfigModule } from '@nestjs/config';
import { BacklinksModule } from './backlinks/backlinks.module';
import { FastCheckModule } from './fast-check/fast-check.module';
import { MainLinksModule } from './main-links/main-links.module';
import { GoogleSearchContentModule } from './google-search-content/google-search-content.module';
import { UsersModule } from '@users/users.module';
import { AuthModule } from '@auth/auth.module';
import { ProjectsModule } from './projects/projects.module';
import { PageParserModule } from './page-parser/page-parser.module';
import { BullModule } from '@nestjs/bull';
// import { PageParserService } from './page-parser.service';
// import { ParsersModule } from './parsers/parsers.module';
// import { ParsersModule } from './parsers/parsers.module';
// import { ParsersQueueModule } from './parsers-queue/parsers-queue.module';
// import { BullWorkerService } from './bull-worker/bull-worker.service';
@Module({
imports: [
AuthModule,
PrismaModule,
BacklinksModule,
FastCheckModule,
MainLinksModule,
GoogleSearchContentModule,
UsersModule,
ConfigModule.forRoot({ isGlobal: true }),
ProjectsModule,
PageParserModule,
// BullModule,
BullModule.forRoot({
redis: {
host: '127.0.0.1',
port: 6379,
},
}),
// BullModule.registerQueue({
// name: 'parsers',
// }),
// ParsersQueueModule,
],
controllers: [AppController],
providers: [
AppService,
{
provide: APP_GUARD,
useClass: JwtAuthGuard,
},
// BullWorkerService,
],
})
export class AppModule {}