- Implemented robust token-based authentication with access and refresh tokens - Added JWT token generation, verification, and rotation mechanisms - Created services for token management, Memcached, and MinIO storage - Enhanced user registration and login with device-specific tokens - Added support for profile picture upload and management via MinIO - Implemented secure password hashing with crypto - Updated Prisma schema to support refresh tokens and profile picture storage - Added GraphQL mutations for logout, token refresh, and profile picture handling - Integrated environment configuration with Zod validation - Improved error handling and authentication middleware
51 lines
960 B
JSON
51 lines
960 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"ui": "tui",
|
|
"globalDependencies": [".env"],
|
|
"globalEnv": [
|
|
"ALLOWED_ORIGINS",
|
|
"API_HOST",
|
|
"API_PORT",
|
|
"COOKIE_SECRET",
|
|
"MINIO_ENDPOINT",
|
|
"MINIO_PORT",
|
|
"MINIO_ACCESS_KEY",
|
|
"MINIO_SECRET_KEY",
|
|
"MINIO_BUCKET_NAME",
|
|
"MINIO_USE_SSL",
|
|
"MEMC_HOST",
|
|
"MEMC_PORT",
|
|
"MEMC_TTL",
|
|
"MEMC_NAMESPACE",
|
|
"NODE_ENV",
|
|
"TOKEN_ACCESS_EXPIRES_IN",
|
|
"TOKEN_REFRESH_EXPIRES_IN",
|
|
"TOKEN_SECRET",
|
|
"VITE_API_URL",
|
|
"VITE_WS_URL"
|
|
],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [".env*"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^lint"]
|
|
},
|
|
"check-types": {
|
|
"dependsOn": ["^check-types"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"start": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|