Skip to main content

Overview

This guide walks you through every step from opening the app for the first time to reaching your dashboard — covering registration, email verification, login, forgot password, and the live/demo account mode toggle.

Complete Auth Flow Diagram


Module 1 — Register

URL: /auth/register TraderFrame Register Page

Form Fields

Step-by-step

1

Fill in your details

Enter a username (min 2 characters), your email address, and a password (min 6 characters).
2

Accept Terms

Check the Terms of Service and Privacy Policy checkbox. The submit button stays disabled until this is checked.
3

Submit

Click Create an account. The button shows a loading spinner while the request is in progress. All other buttons (Google, Apple) are also disabled during this time.
4

Email verification

On success, you are automatically redirected to /auth/email-verification. Check your inbox for a verification link.

Validation Rules

Module 2 — Email Verification

URL: /auth/email-verification Email Verification Page

What’s on this page

Verification Flow

Already Verified?

If the user’s email is already verified (detected via Firebase onAuthStateChanged), the page shows:
“Your email is already verified!”
And redirects to /dashboard after 1.5 seconds automatically.

Module 3 — Login

URL: /auth/login TraderFrame Login Page

Form Fields

Step-by-step

1

Enter credentials

Type your email address and password.
2

Remember Me

Remember Me is on by default. Turn it off if you’re on a shared or public device.
3

Submit

Click Login. A loading spinner appears while authenticating.
4

Redirect

After successful login, you are redirected based on your account type: - Email not verified/auth/email-verification - Admin account → /admin/dashboard - Regular user/dashboard

Redirect Logic

Validation Rules


Module 4 — Forgot Password

URL: /auth/forgot-password Forgot Password Page

What’s on this page

Step-by-step

1

Open Forgot Password

Click Forgot Password? on the login page. You land on /auth/forgot-password.
2

Enter your email

Type the email address registered with your TraderFrame account.
3

Request reset

Click Recover Account. The button shows a loading spinner while processing.
4

Check your inbox

A green success message appears:
“Password reset email sent to your@email.com. Please check your inbox and follow the instructions.”
Open the email and click the reset link.
5

Set new password

The link takes you to /auth/reset-password. Enter and confirm your new password.
6

Login with new password

You are redirected to /auth/login. Log in with your new credentials.

Module 5 — Live vs Demo Mode

Location: Top navigation bar (visible after login) Navigation bar — Demo mode active Navigation bar — Live mode active

What it does

After logging in, a Live / Demo toggle appears in the top navigation bar. This single switch controls what data is shown across the entire app — Dashboard, Portfolio, Performance, Journal, and Bots all respond to the selected mode.

How to switch

Click Live or Demo in the top navigation bar. The switch is instant — all sections update immediately with no page reload.
Always confirm which mode is active before making bot changes or placing trades. Live mode affects real money.

All Auth Routes — Quick Reference