streamflix-api / src /shared /modules /short-url /shlink /shlink.module.ts
Akshar2325
feat(short-url): implement Shlink URL shortener integration with CRUD operations
2f0bbdc
Raw
History Blame
530 Bytes
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { ShlinkController } from './shlink.controller';
import { ShlinkService } from './shlink.service';
import shlinkConfig from './shlink.config';
import { ShortUrlCoreModule } from 'src/core/short-url-core/short-url-core.module';
@Module({
imports: [ConfigModule.forFeature(shlinkConfig), ShortUrlCoreModule],
controllers: [ShlinkController],
providers: [ShlinkService],
exports: [ShlinkService],
})
export class ShlinkModule {}