refactor: migrate from MongoDB to Prisma for data management, removing mongoose models and updating services to use Prisma client

This commit is contained in:
Julien Froidefond
2025-10-16 22:22:20 +02:00
parent 677e2ae884
commit 3cd58f63e6
21 changed files with 636 additions and 576 deletions

View File

@@ -11,6 +11,7 @@
"icons": "node scripts/generate-icons.js"
},
"dependencies": {
"@prisma/client": "^6.17.1",
"@radix-ui/react-dialog": "1.0.5",
"@radix-ui/react-dropdown-menu": "^2.1.6",
"@radix-ui/react-progress": "^1.1.2",
@@ -18,7 +19,6 @@
"@radix-ui/react-slot": "1.0.2",
"@radix-ui/react-toast": "1.1.5",
"@types/bcryptjs": "^3.0.0",
"@types/mongoose": "5.11.97",
"bcryptjs": "^3.0.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
@@ -26,7 +26,6 @@
"i18next": "^24.2.2",
"i18next-browser-languagedetector": "^8.0.4",
"lucide-react": "^0.487.0",
"mongoose": "8.1.0",
"next": "15.2.0",
"next-auth": "5.0.0-beta.29",
"next-themes": "0.2.1",
@@ -53,6 +52,7 @@
"eslint-plugin-typescript-sort-keys": "^3.3.0",
"eslint-plugin-unused-imports": "^4.1.4",
"postcss": "8.4.33",
"prisma": "^6.17.1",
"tailwindcss": "3.4.1",
"typescript": "5.3.3"
},