Use-case 0001 - User Registration
Initiating actor
Guest (Unauthenticated visitor)
Other actors
None
Description
This use-case describes how a guest creates a new account in the Wedding Planner system. The user provides personal data (name, email, phone, gender, birthday) and the system validates the uniqueness of the email and stores the new user in the database.
Scenario
- The guest opens the registration page.
- The system displays a registration form with the following fields: first name, last name, email, phone number, gender, birthday.
- The guest fills in the form and clicks "Register".
- The system validates that the email is not already used.
SET search_path TO project; SELECT user_id FROM "user" WHERE email = :email;
- If the email is unique, the system creates a new user account in the database.
SET search_path TO project; INSERT INTO "user"(first_name, last_name, email, phone_number, gender, birthday) VALUES (:first_name, :last_name, :email, :phone_number, :gender, :birthday) RETURNING user_id;
- The system confirms successful registration and redirects the user to the login page.
Last modified
10 days ago
Last modified on 01/10/26 17:53:48
Note:
See TracWiki
for help on using the wiki.
