profile: create module structure

This commit is contained in:
arswarog committed 2026-11-13 19:18:17 +03:00
1 parent 2e8eaa0478
commit 6cd287cf78
4 files changed
+18

No files matched your search

+2
View File
@@ -6,6 +6,7 @@ import { ApolloServerPluginLandingPageLocalDefault } from '@apollo/server/plugin
import { AppController } from './app.controller.js';
import { AppService } from './app.service.js';
import { ProfileModule } from './profile/profile.module.js';
@Module({
imports: [
@@ -23,6 +24,7 @@ import { AppService } from './app.service.js';
playground: false,
plugins: [ApolloServerPluginLandingPageLocalDefault()],
}),
ProfileModule,
],
controllers: [AppController],
providers: [AppService],
+8
View File
@@ -0,0 +1,8 @@
import { Module } from '@nestjs/common';
import { ProfileService } from './profile.service.js';
import { ProfileResolver } from './profile.resolver.js';
@Module({
providers: [ProfileService, ProfileResolver],
})
export class ProfileModule {}
+4
View File
@@ -0,0 +1,4 @@
import { Resolver } from '@nestjs/graphql';
@Resolver()
export class ProfileResolver {}
+4
View File
@@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class ProfileService {}