Added prisma

This commit is contained in:
timhaller 2023-12-04 09:26:40 +01:00
parent 1456f13a28
commit ea6a9cd6c0
4 changed files with 31 additions and 5 deletions

1
.env Normal file
View File

@ -0,0 +1 @@
DATABASE_URL='mysql://m87zqy9vc05ayp1l9k66:pscale_pw_J61Dcxy4CwJWMWrrOxkWJCmkuVJhK7ROBDZ1TmVpoIo@aws.connect.psdb.cloud/calendrier?sslaccept=strict'

2
.gitignore vendored
View File

@ -34,3 +34,5 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
.env

22
package-lock.json generated
View File

@ -9,6 +9,7 @@
"version": "0.1.0",
"dependencies": {
"next": "14.0.3",
"prisma": "^5.6.0",
"react": "^18",
"react-dom": "^18"
},
@ -378,6 +379,12 @@
"node": ">= 8"
}
},
"node_modules/@prisma/engines": {
"version": "5.6.0",
"resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.6.0.tgz",
"integrity": "sha512-Mt2q+GNJpU2vFn6kif24oRSBQv1KOkYaterQsi0k2/lA+dLvhRX6Lm26gon6PYHwUM8/h8KRgXIUMU0PCLB6bw==",
"hasInstallScript": true
},
"node_modules/@rushstack/eslint-patch": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.6.0.tgz",
@ -3410,6 +3417,21 @@
"node": ">= 0.8.0"
}
},
"node_modules/prisma": {
"version": "5.6.0",
"resolved": "https://registry.npmjs.org/prisma/-/prisma-5.6.0.tgz",
"integrity": "sha512-EEaccku4ZGshdr2cthYHhf7iyvCcXqwJDvnoQRAJg5ge2Tzpv0e2BaMCp+CbbDUwoVTzwgOap9Zp+d4jFa2O9A==",
"hasInstallScript": true,
"dependencies": {
"@prisma/engines": "5.6.0"
},
"bin": {
"prisma": "build/index.js"
},
"engines": {
"node": ">=16.13"
}
},
"node_modules/prop-types": {
"version": "15.8.1",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",

View File

@ -9,19 +9,20 @@
"lint": "next lint"
},
"dependencies": {
"next": "14.0.3",
"prisma": "^5.6.0",
"react": "^18",
"react-dom": "^18",
"next": "14.0.3"
"react-dom": "^18"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.0.3",
"postcss": "^8",
"tailwindcss": "^3.3.0",
"eslint": "^8",
"eslint-config-next": "14.0.3"
"typescript": "^5"
}
}