Starting post load

This commit is contained in:
2024-05-09 16:06:43 +03:00
parent ec5769f70e
commit e2d2599a95
18 changed files with 274 additions and 3 deletions
+21
View File
@@ -0,0 +1,21 @@
export type User = {
name: string
};
export type Rating = {
likes: number,
dislikes: number
}
export type Category = {
name: string
}
export type Post = {
// author: User,
name: string,
// category: Category,
content: string,
// post_date: Date,
// rating: Rating
};
+12
View File
@@ -0,0 +1,12 @@
export type Env = {
PG_USERNAME: string,
PG_PASSWORD: string,
PG_HOST: string,
PG_PORT: string,
PG_DATABASE: string,
SSH_HOST: string,
SSH_PORT: string,
SSH_USERNAME: string,
SSH_PASSWORD: string
};