Working Database setupgit add .

This commit is contained in:
2025-12-22 00:38:30 -06:00
commit 24dc4090c0
21 changed files with 1955 additions and 0 deletions

33
package.json Normal file
View File

@@ -0,0 +1,33 @@
{
"name": "spaceward-database",
"module": "src/index.ts",
"type": "module",
"private": true,
"devDependencies": {
"@types/bun": "latest",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^25.0.3",
"@types/node-cron": "^3.0.11",
"@types/pg": "^8.16.0"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@prisma/adapter-pg": "^7.2.0",
"@prisma/client": "^7.2.0",
"cors": "^2.8.5",
"express": "^5.2.1",
"node-cron": "^4.2.1",
"pg": "^8.16.3",
"prisma": "^7.2.0"
},
"scripts": {
"dev": "bun --watch src/index.ts",
"start": "bun src/index.ts",
"db:generate": "bunx prisma generate",
"db:migrate": "bunx prisma migrate dev",
"db:studio": "bunx prisma studio"
}
}