created chat service and module

This commit is contained in:
simplonco
2023-01-03 13:48:31 +01:00
parent 1551ec6499
commit 5bd099ad38
5 changed files with 19 additions and 2 deletions

View File

@@ -5,7 +5,6 @@ services:
context: ./requirements/nestjs
target: development
dockerfile: Dockerfile
no_cache: true
args:
- NODE_ENV=${NODE_ENV}
- WEBSITE_HOST=${WEBSITE_HOST}

View File

@@ -35,7 +35,7 @@ import { ChatGateway } from './chat/chat.gateway';
controllers: [AppController],
providers: [
AppService,
ChatGateway,
ChatGateway,
],
})
export class AppModule {}

View File

@@ -0,0 +1,16 @@
import { Module } from '@nestjs/common';
//import { TypeOrmModule } from '@nestjs/typeorm';
//import { FriendshipService } from './friendship.service';
//import { FriendshipController } from './friendship.controller';
//import { Friendship } from './entities/friendship.entity';
//import { User } from '../users/entities/user.entity';
//@Module({
// imports: [TypeOrmModule.forFeature([Friendship, User])],
// providers: [FriendshipService],
// controllers: [FriendshipController],
// exports: [FriendshipService],
//})
export class FriendshipsModule {}

View File

@@ -0,0 +1,2 @@
WEBSITE_HOST=transcendance
WEBSITE_PORT=8080