created chat service and module
This commit is contained in:
@@ -5,7 +5,6 @@ services:
|
||||
context: ./requirements/nestjs
|
||||
target: development
|
||||
dockerfile: Dockerfile
|
||||
no_cache: true
|
||||
args:
|
||||
- NODE_ENV=${NODE_ENV}
|
||||
- WEBSITE_HOST=${WEBSITE_HOST}
|
||||
|
||||
@@ -35,7 +35,7 @@ import { ChatGateway } from './chat/chat.gateway';
|
||||
controllers: [AppController],
|
||||
providers: [
|
||||
AppService,
|
||||
ChatGateway,
|
||||
ChatGateway,
|
||||
],
|
||||
})
|
||||
export class AppModule {}
|
||||
|
||||
16
srcs/requirements/nestjs/api_back/src/chat/chat.module.ts
Normal file
16
srcs/requirements/nestjs/api_back/src/chat/chat.module.ts
Normal 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 {}
|
||||
|
||||
2
srcs/requirements/svelte/api_front/.env
Normal file
2
srcs/requirements/svelte/api_front/.env
Normal file
@@ -0,0 +1,2 @@
|
||||
WEBSITE_HOST=transcendance
|
||||
WEBSITE_PORT=8080
|
||||
Reference in New Issue
Block a user