diff --git a/.env b/.env index 268994ef..09e803f0 100644 --- a/.env +++ b/.env @@ -3,9 +3,6 @@ NODE_ENV=production NEXT_PUBLIC_APP_URL=https://recept.gynther.se NEXT_PUBLIC_API_URL=https://api.recept.gynther.se -API_PORT=8080 -FRONTEND_PORT=3000 - MARIADB_ROOT_PASSWORD=Encrust6-Deserve-Stricken-Spectacle MARIADB_DATABASE=recipe_app MARIADB_USER=recipe_user @@ -13,8 +10,3 @@ MARIADB_PASSWORD=Imminent-Umpire-Undertook8-Crunchy # Använder root för att prisma migrate deploy skall fungera DATABASE_URL=mysql://root:Encrust6-Deserve-Stricken-Spectacle@recipe-db:3306/recipe_app - -JWT_SECRET=byt_till_en_lang_slumpad_hemlighet -OPENAI_API_KEY=tomt_tills_vidare - -UPLOAD_DIR=/app/uploads diff --git a/backend/package.json b/backend/package.json index b66cabdc..cd92d9f6 100644 --- a/backend/package.json +++ b/backend/package.json @@ -14,7 +14,7 @@ "@nestjs/common": "^10.3.0", "@nestjs/core": "^10.3.0", "@nestjs/platform-express": "^10.3.0", - "@prisma/client": "^6.12.0", + "@prisma/client": "^7.7.0", "class-transformer": "^0.5.1", "class-validator": "^0.15.1", "multer": "^1.4.5-lts.2", @@ -34,7 +34,7 @@ "@types/node": "^22.15.29", "@types/pdf-parse": "^1.1.5", "@types/uuid": "^10.0.0", - "prisma": "^6.12.0", + "prisma": "^7.7.0", "typescript": "^5.4.5" } }