Init project. Create simple backend. Add postgres in docker

This commit is contained in:
2025-03-16 11:24:14 +04:00
commit bcc5d1daf4
44 changed files with 18464 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
@Entity()
export class Message {
@PrimaryGeneratedColumn()
id: number;
@Column()
timeOfSend: string;
@Column()
sender: string;
}