Added postgres DB, models. Updated services for ansync DB operations, etc

This commit is contained in:
KS Jannette
2026-05-18 18:03:01 -04:00
parent 5d32d5c537
commit cbb76fd72d
17 changed files with 600 additions and 77 deletions

View File

@@ -5,7 +5,10 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "tsx src/index.ts"
"dev": "tsx src/index.ts",
"db:up": "docker compose up -d",
"db:down": "docker compose down",
"db:migrate": "tsx scripts/migrate.ts"
},
"keywords": [],
"author": "",
@@ -15,12 +18,14 @@
"cors": "^2.8.6",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"pg": "^8.21.0",
"pino": "^10.3.1"
},
"devDependencies": {
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^25.8.0",
"@types/pg": "^8.20.0",
"ts-node": "^10.9.2",
"tsx": "^4.22.1",
"typescript": "^6.0.3"