How bhaskar-majjari/signup-wizard-assignment works
Nubpack is a client-side React signup flow: users start at a landing page, accept terms, complete email and demo-OTP verification, enter personal and education details, then see a completion screen. App owns page transitions and toast state; Signup owns the four-step form state and renders each step. Verification and profile creation are simulated with timers and hard-coded demo data; no backend or persistent storage is shown. The README describes only a React/Vite template, so product behavior is inferred from the sampled source rather than product documentation.
Main entry points: App.jsx Page state and toasts · Signup.jsx Signup coordinator · LandingPage.jsx Welcome page · main.jsx React entry point
Components 12
Application shell
- Page state and toasts
src/App.jsx - Toast notice
src/Components/Toast.jsx - React entry point
src/main.jsx
Entry and consent
- Welcome page
src/Components/LandingPage.jsx - Terms acceptance
src/Components/Terms.jsx
Signup workflow
- Signup coordinator
src/Components/Signup/Signup.jsx - Email entry
src/Components/Signup/EmailStep.jsx - OTP verification
src/Components/Signup/OtpStep.jsx - Personal details
src/Components/Signup/PersonalStep.jsx - Education details
src/Components/Signup/EducationStep.jsx
Completion
- Success screen
src/Success.jsx
Other components
- User
Connections 12
- React entry point → Page state and toasts: renders
src/main.jsx - Page state and toasts → Welcome page: renders
src/App.jsx - Page state and toasts → Terms acceptance: renders
src/App.jsx - Page state and toasts → Signup coordinator: renders
src/App.jsx - Page state and toasts → Toast notice: renders
src/App.jsx - Page state and toasts → Success screen: renders
src/App.jsx - User → Welcome page: starts signup
src/Components/LandingPage.jsx - Signup coordinator → Email entry: renders step
src/Components/Signup/Signup.jsx - Signup coordinator → OTP verification: renders step
src/Components/Signup/Signup.jsx - Signup coordinator → Personal details: renders step
src/Components/Signup/Signup.jsx - Signup coordinator → Education details: renders step
src/Components/Signup/Signup.jsx - Signup coordinator → Page state and toasts: completes signup
src/Components/Signup/Signup.jsx