An open API service indexing awesome lists of open source software.

https://github.com/fdorantesm/nestjs-elastic-transcoder

A AWS Elastic Transcoder module for NestJS created using ChatGPT
https://github.com/fdorantesm/nestjs-elastic-transcoder

aws aws-elastic-transcoder chat-gpt elastic-transcoder nestjs-elastic-transcoder

Last synced: 25 days ago
JSON representation

A AWS Elastic Transcoder module for NestJS created using ChatGPT

Awesome Lists containing this project

README

          

# NestJS Elastic Transcoder

### forRoot method

```ts

@Module({
imports: [
ElasticTranscoderModule.forRoot({
accessKeyId: '',
region: '',
secretAccessKey: ''
})
]
})
export class AppModule {}
```

### forRootAsync method

```ts
@Module({
imports: [
ElasticTranscoderModule.forRootAsync({
imports: [ConfigModule.forFeature(elasticTranscoderLoader)],
inject: [ConfigService],
useFactory(configService: ConfigService) {
return {
accessKeyId: configService.get('accessKeyId'),
region: configService.get('region'),
secretAccessKey: configService.get('secretAccessKey')
};
}
})
]
})
export class AppModule {}
```

### forFeature method
```ts
@Module({
imports: [
ElasticTranscoderModule.forFeature()
]
})
export class VideosModule {}
```