You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
544 B
15 lines
544 B
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { UserController } from './user.controller';
|
|
import { UserService } from './user.service';
|
|
import { User } from './user.entity';
|
|
import { UserRepository } from './user.repository';
|
|
import { CryptoModule } from '../core/crypto/crypto.module';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([User, UserRepository]), CryptoModule],
|
|
controllers: [UserController],
|
|
providers: [UserService],
|
|
exports: [UserService],
|
|
})
|
|
export class UserModule {}
|