0. 댓글 엔티티 생성 및 존재 하는 게시물인지 확인하는 미들웨어 @Entity() export class CommentsModel extends BaseModel { @ManyToOne(() => UsersModel, (user) => user.postComments) author: UsersModel; @ManyToOne(() => PostModel, (post) => post.comments) post: PostModel; @Column() @IsString() comment: string; @Column({ default: 0, }) @IsNumber() likeCount: number; } 댓글 엔티티 생성 post-exists.middleware.ts @Injectable() export cl..