Created
March 27, 2025 18:28
-
-
Save Vatsalya-singhi/f2bef9686be07792537cb25ff0173e51 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Module } from '@nestjs/common'; | |
import { UsersController } from './users.controller'; | |
import { UsersService } from './users.service'; | |
@Module({ | |
controllers: [UsersController], // Registers the controller | |
providers: [UsersService], // Registers the service | |
exports: [UsersService], // Allows other modules to use UsersService | |
imports: [] | |
}) | |
export class UsersModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment