| | 1 | == Client Registration |
| | 2 | |
| | 3 | ==== Actors: Guest User |
| | 4 | |
| | 5 | **1.** The user opens the registration page. |
| | 6 | |
| | 7 | **2.** Personal data is entered. |
| | 8 | |
| | 9 | **3.** The user is authenticated through email. |
| | 10 | |
| | 11 | **4.** The application inserts a new record into {{{client}}}. |
| | 12 | {{{#!sql |
| | 13 | INSERT INTO client (client_ID, first_name, last_name, email, password) VALUES |
| | 14 | ('1001', 'Elena', 'Stojanova', 'elena@gmail.com', '*sufhIIUs734hkdsb&'); |
| | 15 | |
| | 16 | }}} |
| | 17 | |
| | 18 | **5.** If provided a delivery address, it is saved in {{{delivery_address}}}. |
| | 19 | {{{#!sql |
| | 20 | INSERT INTO delivery_address (client_ID, address, city, postcode, country) |
| | 21 | VALUES (1001, 'st.Center num.10', 'Skopje', '1000', 'North Macedonia'); |
| | 22 | |
| | 23 | }}} |