Skip to content

feat(auth): capture roles and restaurant details on registration#215

Open
gTanusri wants to merge 1 commit into
rdodiya:gssoc_developfrom
gTanusri:codex/issue-140-registration-onboarding
Open

feat(auth): capture roles and restaurant details on registration#215
gTanusri wants to merge 1 commit into
rdodiya:gssoc_developfrom
gTanusri:codex/issue-140-registration-onboarding

Conversation

@gTanusri
Copy link
Copy Markdown

Issue Link

Closes #140

Changes Made

  • Added role selection to the registration page using active roles loaded from the backend.
  • Added restaurant name, description, and phone number fields to signup with client-side validation.
  • Extended user registration payload to accept selected role IDs and restaurant details.
  • Created restaurant records during user registration inside the existing transactional registration flow.
  • Allowed public GET access to role endpoints so the registration page can populate the role list before login.

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • Code refactor

Testing Performed

Frontend Testing

  • Production build passes with npm run build
  • Role and restaurant fields validate before submission

Backend Testing

  • Backend compile passes with ./gradlew.bat compileJava
  • Full backend test suite passes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backend + Frontend] Add Role & Restaurant Details During User Registration

1 participant