Rabbinatix
Sign inGet started
Store

Email & password registration

FreeFlow
@rabbinatix/email-password-registration by Rabbinatixupdated Sep 30, 2026

A new user signs up; the account service validates the input, rejects duplicates and creates the user.

Sign up to use it

Sign-up with validation and duplicate protection:

  • Client app sends the form to the register API and maps the answer for the UI.
  • Account service checks the identifier format and the password policy, looks for an existing account, stores the user with a password hash, and (optionally) sends a welcome email.
  • User store answers the lookup and receives the insert. Mailer (optional) sends the welcome email.

Password rules are settings: minimum length, a digit, an uppercase letter.

The Create account screen comes with it on the client app, as a design to click through.

Previewlanes are roles; you pick your systems when importing
Not found400409Other
Start in Client app. step 1 of 15. key stepOn Submit registration form
Call to another system in Client app. step 2 of 15. key stepCall register
Start in Account service. step 3 of 15. key stepOn POST /api/v1/register
Resource in Account service. step 4 of 15. key stepFind existing user
Answer in User store. step 5 of 15. key stepusers.findByIdentifier
Return in Account service. step 6 of 15. key stepAlready registered → 409
Resource in Account service. step 7 of 15. key stepCreate user
Answer in User store. step 8 of 15. key stepusers.insert
Return in Account service. step 9 of 15. key stepReturn 201
Return in Account service. step 10 of 15. key stepWeak password → 400
Return in Account service. step 11 of 15. key stepInvalid identifier → 400
Return in Client app. step 12 of 15. key stepReturn
Return in Client app. step 13 of 15. key stepReturn
Return in Client app. step 14 of 15. key stepReturn
Return in Client app. step 15 of 15. key stepReturn
Client app
Web frontend
Account service
Backend service
User store
Database

Up and down arrows: previous or next step. Home, End: first or last. Enter: select. Shift F10: more actions.

APIs
POST{base}/register· Create an account
Account service provides it · Client app calls it
Request body
email: string
password: string
displayName?: string
201
id: string
email: string
400
error: string
field: string
409
error: string
Data operations
users.findByIdentifierqueryon User store(email: string)
users.insertinserton User store(email: string, passwordHash: string, displayName?: string)
Test cases
New account→ Account created
Identifier already in use→ Already registered
Invalid email→ Invalid identifier
Weak password→ Weak password
Welcome email sent→ Account createdwith “Send a welcome email”
Requirements
An email can only be registered once.
Passwords must meet the password policy.
Roles (4)
Client app
Where the user fills in the sign-up form · Web frontend or mobile app
Account service
Validates the sign-up and creates the account · Backend service
User store
Database with the user records · Database
Mailer (optional)
Sends the welcome email (optional) · External API or backend service
Settings
Minimum password length8
Require a digittrue
Require an uppercase letterfalse
Send a welcome emailoff
Identifier fieldemail (renamable)

Also as a whiteboard

Versions