SYSTEM
User Service
Manages user accounts and authentication
User Service
The User Service handles all user-related operations, including authentication, registration and profile management.
Responsibilities
- User registration and login
- Profile management
- Password reset
- Session management
gRPC methods
CreateUser(CreateUserRequest)- Register a new userGetUser(GetUserRequest)- Get a user by IDUpdateUser(UpdateUserRequest)- Update a user profileAuthenticateUser(AuthRequest)- Validate credentialsRefreshToken(RefreshRequest)- Refresh a JWT
Events published
user.created- New user registereduser.updated- User profile updateduser.deleted- User account deleted
Technology
- Go with gRPC
- PostgreSQL for user data
- Redis for the session cache
- Kafka for events
Edit ./docs/user-service.md to change this text.
Contains
Active sessions
Registration, login, profiles and tokens
User accounts and profiles