convert project from microservices to rest apis

This commit is contained in:
faris Aljohari
2024-03-10 12:49:51 +03:00
parent b3179a5c1f
commit c5537b3230
72 changed files with 155 additions and 384 deletions

View File

@ -1,4 +1,4 @@
import { SetMetadata } from '@nestjs/common';
export const ResponseMessage = (message: string) =>
SetMetadata('response_message', message);
SetMetadata('response_message', message);

View File

@ -1,5 +1,5 @@
export interface Response<T> {
statusCode: number;
message: string;
data?: T;
}
statusCode: number;
message: string;
data?: T;
}