diff --git a/src/app.module.ts b/src/app.module.ts index 4a9d31f..59e81ae 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -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], diff --git a/src/profile/profile.module.ts b/src/profile/profile.module.ts new file mode 100644 index 0000000..3f247e9 --- /dev/null +++ b/src/profile/profile.module.ts @@ -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 {} diff --git a/src/profile/profile.resolver.ts b/src/profile/profile.resolver.ts new file mode 100644 index 0000000..6c603df --- /dev/null +++ b/src/profile/profile.resolver.ts @@ -0,0 +1,4 @@ +import { Resolver } from '@nestjs/graphql'; + +@Resolver() +export class ProfileResolver {} diff --git a/src/profile/profile.service.ts b/src/profile/profile.service.ts new file mode 100644 index 0000000..8e5abdb --- /dev/null +++ b/src/profile/profile.service.ts @@ -0,0 +1,4 @@ +import { Injectable } from '@nestjs/common'; + +@Injectable() +export class ProfileService {}