Added UsersModule to manage user-related operations. Includes UsersService for CRUD operations, consent updates, and 2FA handling. Implemented UsersController with endpoints for public profiles, account management, and admin user listing. Integrated with CryptoService and database schemas.
15 lines
494 B
TypeScript
15 lines
494 B
TypeScript
import { Module } from "@nestjs/common";
|
|
import { AuthModule } from "../auth/auth.module";
|
|
import { CryptoModule } from "../crypto/crypto.module";
|
|
import { DatabaseModule } from "../database/database.module";
|
|
import { UsersController } from "./users.controller";
|
|
import { UsersService } from "./users.service";
|
|
|
|
@Module({
|
|
imports: [DatabaseModule, CryptoModule, AuthModule],
|
|
controllers: [UsersController],
|
|
providers: [UsersService],
|
|
exports: [UsersService],
|
|
})
|
|
export class UsersModule {}
|