- Added Kakao OAuth client implementation for handling authentication flows. - Updated user repository to support OAuth-based user creation and retrieval. - Introduced Redis-based session management for OAuth sessions. - Enhanced in-memory user repository to handle OAuth user data. - Updated environment configuration files to include new OAuth settings. - Modified API routes to support Kakao login and registration flows. - Added Prisma schema updates for user model to accommodate OAuth fields. - Implemented tests for the new authentication flow and user repository methods.
29 lines
882 B
JSON
29 lines
882 B
JSON
{
|
|
"name": "@sammo-ts/gateway-api",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/gateway-api",
|
|
"dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/gateway-api --watch",
|
|
"lint": "node -e \"console.log('lint not configured')\"",
|
|
"test": "vitest run --config vitest.config.ts",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"tsdown": "^0.18.3",
|
|
"vite-tsconfig-paths": "^6.0.0",
|
|
"vitest": "^4.0.16"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^10.0.1",
|
|
"@prisma/client": "^7.2.0",
|
|
"@sammo-ts/common": "workspace:*",
|
|
"@sammo-ts/infra": "workspace:*",
|
|
"@trpc/server": "^11.4.4",
|
|
"fastify": "^5.3.3",
|
|
"redis": "^4.7.0",
|
|
"zod": "^4.2.1"
|
|
}
|
|
}
|