prisma (#1)
migrate from knex to prisma on backend Co-authored-by: fred <> Reviewed-on: #1
This commit is contained in:
parent
24281a6322
commit
0a41568a2e
31 changed files with 1577 additions and 472 deletions
|
@ -3,19 +3,26 @@
|
|||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "node backendServer.js",
|
||||
"demo": "node backendServer.js",
|
||||
"production": "node backendServer.js"
|
||||
"dev": "nodemon ./src/index.js",
|
||||
"production": "node ./src/index.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"description": "",
|
||||
"dependencies": {
|
||||
"@prisma/client": "^6.14.0",
|
||||
"@types/node": "^24.2.1",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^17.0.1",
|
||||
"express": "^5.1.0",
|
||||
"knex": "^3.1.0",
|
||||
"pg": "^8.16.3"
|
||||
"pg": "^8.16.3",
|
||||
"prisma": "^6.14.0",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.9.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^3.1.10"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue