Use-case 1 – User Registration
Initiating actor: Guest
Other actors: /
The guest user wants to create an account in the system. The system verifies that the username and email are not already in use. If the credentials are valid, the system stores the new user into the database. After successful registration, the user becomes a registered user.
Scenario
Step 1. Guest clicks on REGISTER button and fills out the registration form with username, email and password.
Step 2. After user submits the data, the system validates the input fields and checks if username or email already exist.
Step 3. System stores the new user in the database.
INSERT INTO users (username, password, email)
VALUES ('new_user', 'password', 'newuser@gmail.com');
Step 4. System redirects the user to the login page.
Attachments (1)
- registration.png (65.2 KB ) - added by 38 hours ago.
Download all attachments as: .zip

