CC

CarCarStory

Simple public landing wired to the live backend auth endpoints.

Landing preview ยท auth connected

Your cars, services, refills, parts, and costs in one place.

This first version keeps the homepage focused on access. You can sign in with the current backend, start a new registration, verify the emailed OTP, and resend the verification code without leaving the page.

Sign in

Uses the live POST /api/auth/signin flow with email, password, and the selected idLang.

Register

Starts account creation with POST /api/auth/signup. The backend sends the OTP to the email you provide.

Verify OTP

Completes registration through POST /api/auth/registration/verify and returns the real access and refresh tokens.

Session preview

On successful auth, the response is shown on the page and stored in sessionStorage for this browser tab only.

POST /api/auth/signin Email/password login
POST /api/auth/signup Registration start + OTP email
POST /api/auth/registration/verify OTP verification + token issue
POST /api/auth/registration/resend Resend verification code