<!-- generated by php artisan docs:split-brd from brd/BRD-Morvia-Project-Guide-en.md — edit the BRD, not this file -->

#### TRN-002 | Trainee registration (create account) with OTP
**Source:** p.18 · **Actor:** guest
- **Built as (TD-44):** `POST /client/auth/register` sends the OTP and holds the form; `POST /client/auth/verify` creates the account (nothing exists before the code is confirmed).
- **Purpose:** let a new user create a trainee account to use the services that need a registered
  user.
- **Form fields:** name · mobile number · email · address · password · acceptance of the terms and
  policies.
- **Actions:** "Create account" button; link to login for a user who already has an account;
  option to **browse the app as a guest**.
- **Business rules:**
  - Trainee registration is free.
  - **All fields are mandatory.**
  - The mobile number must not already be used by another trainee account.
  - An **OTP** is sent to the mobile number to verify it; registration cannot complete until the OTP
    is entered correctly.
  - OTP resend follows time limits set by the technical implementation (DEC-02).
  - Address = **country + city** (from the lists) **+ free-text address** (DEC-03). Each app has its own
    account: the same mobile may hold a trainee and a trainer account; it is unique per account type
    (DEC-04).
  - The account gives access to the services reserved for registered users.
- **Permissions:** available to unregistered users; a user who has an account goes to login.

**Acceptance, rules and screen notes citing TRN-002:**

- BR-ACC-01 — Trainee registration is free; independent trainers self-register and need admin approval; affiliated trainers, centers, hall providers and admin users never self-register. — TRN-002, TRR-002, CTR-005, ADM-010, ADM-015, ADM-049
