Description
As a new user, I want to be able to register for an account by providing my basic personal information (name, CPF/CNPJ, email, phone number) and creating secure login credentials (username and password) so that I can access the banking system.
Acceptance Criteria:
- The system should validate the format and uniqueness of required information (e.g., email, CPF/CNPJ).
- The system should enforce password complexity requirements.
- Upon successful registration, the user should receive a confirmation (e.g., email).
- The user's basic information and hashed password should be securely stored in the system.
- Appropriate domain events (e.g., UserRegistered) should be raised.
Description
As a new user, I want to be able to register for an account by providing my basic personal information (name, CPF/CNPJ, email, phone number) and creating secure login credentials (username and password) so that I can access the banking system.
Acceptance Criteria: