---
# System prepended metadata

title: MOVED - Register
tags: ['Register, CustomerJourney']

---

# MOVED - Register

###### tags: `Register, CustomerJourney`

---

TBD:
-

* Age limit? - no age limit, don't ask year of birth


---

## User info

**Required** 
textInput: FirstName
textInput: LastName

emailInput: Email (works as username)
numberInput: Phonenumber (for user verification for OTP)

datepicker: Birthdate

boolean: Marketing by email
boolean: Marketing by sms
boolean: Accept RewardClub rules, privacy policy, tos 


**Optional:**
Nearest restaurant: Will be a UUID type, later on fetched automatically

---


```mermaid

flowchart TD
    Download(["Open app"]) --> start[["Welcome"\n-\nLogin: Username&password\nforgotten password\n-\nregister]] --> opt1{Has user\nregistered?}
    opt1 --> |Yes| login[login]
    opt1 --> |No| registerOptions[["RegOptions\n-\nClassic:\nemail,\n password,\n confirmPassword\n-\nOther:\n Google,\n Apple,\n Android,\n facebook?"]]
    
    login --> Home
    
    registerOptions --> opt2{Classic?}  
    opt2 --> |classic| otpVerification
    opt2 --> |3rd party| registerOptions2
    
    otpVerification[["User Verification\n-\nOTP from email"]] --> registerOptions2
    
    registerOptions2[["ExtraInfo\n-\nfirstName,\n lastName,\n phone,\n birthdate,\n permissions x3"]]
    
    registerOptions2 --> Home[["Homeview"]]
    
```
```
ᐞ1 = if age <15
```

---

Homeview: 
-

More info on [Homeview](https://hdoc.donutlabs.io/s/Im6FSuKr6) content 

---
