mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
14 lines
432 B
TypeScript
14 lines
432 B
TypeScript
|
|
import { Module } from "@nestjs/common";
|
||
|
|
import { TypeOrmModule } from "@nestjs/typeorm";
|
||
|
|
import { UserRepository } from "./user.repository";
|
||
|
|
import { UsersService } from "./users.service";
|
||
|
|
import { UsersController } from './users.controller';
|
||
|
|
|
||
|
|
@Module({
|
||
|
|
imports: [TypeOrmModule.forFeature([UserRepository])],
|
||
|
|
providers: [UsersService],
|
||
|
|
exports: [UsersService],
|
||
|
|
controllers: [UsersController]
|
||
|
|
})
|
||
|
|
export class UsersModule {}
|