Enhance cursor rules and add user management functionality
- Updated cursor rules to emphasize the importance of dependency injection and logging practices. - Introduced a new user management domain, including entities, services, handlers, and validation. - Implemented user authentication features such as login, registration, and role-based access control. - Added Redis integration for token management and caching. - Enhanced API documentation with Swagger for user-related endpoints. - Updated configuration to support new JWT settings and Redis connection parameters.
This commit is contained in:
+4
-3
@@ -38,9 +38,10 @@ search:
|
||||
|
||||
auth:
|
||||
jwt:
|
||||
secret: "your-super-secret-key"
|
||||
access_token_duration: "24h"
|
||||
refresh_token_duration: "168h" # 7 days
|
||||
access_secret: "your-super-secret-access-token-key-here-make-it-long-and-secure"
|
||||
refresh_secret: "your-super-secret-refresh-token-key-here-make-it-long-and-secure"
|
||||
access_expires_in: 3600 # 1 hour in seconds
|
||||
refresh_expires_in: 2592000 # 30 days in seconds
|
||||
|
||||
ai:
|
||||
openai:
|
||||
|
||||
Reference in New Issue
Block a user