updated codegen, fixed tsconfig, added prisma

added login, registration and session check
This commit is contained in:
lnn0q 2025-03-23 21:06:15 +02:00
parent 9518787206
commit 04b606b7fa
24 changed files with 740 additions and 1747 deletions

View file

@ -8,7 +8,8 @@
"start": "NODE_ENV=production tsx app/server/main.ts",
"build": "vite build",
"gql-types": "graphql-codegen --config codegen.ts",
"checkup": "opinionated checkup"
"checkup": "opinionated checkup",
"prisma": "prisma"
},
"dependencies": {
"@apollo/client": "^3.12.2",
@ -17,6 +18,7 @@
"@deftomat/opinionated": "^1.1.3",
"@emotion/react": "^11.13.5",
"@hookform/resolvers": "^3.9.1",
"@prisma/client": "^6.4.1",
"@tanstack/react-router": "^1.85.0",
"@tanstack/router-vite-plugin": "^1.84.4",
"@types/cors": "^2.8.17",
@ -34,6 +36,7 @@
"react-icons": "^5.4.0",
"tsx": "^4.3.0",
"typescript": "^5.3.2",
"uuid": "^11.1.0",
"valibot": "^1.0.0-beta.10",
"vite-express": "^0.20.0"
},
@ -47,14 +50,18 @@
"@tanstack/router-plugin": "^1.84.4",
"@types/bcrypt": "^5.0.2",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.9",
"@types/node": "^20.9.3",
"@types/react": "^18.0.38",
"@types/react-dom": "^18.2.16",
"@vitejs/plugin-react": "^4.2.0",
"nodemon": "^3.0.1",
"prisma": "^6.4.1",
"vite": "^5.0.2",
"vite-tsconfig-paths": "^5.1.4"
},
"prettier": "@deftomat/opinionated/configs/prettier.config.mjs"
"prettier": "@deftomat/opinionated/configs/prettier.config.mjs",
"prisma": {
"schema": "app/server/prisma/schema.prisma"
}
}