Skip to content

[BE-66] Onboarding module — complete service, add controller, register module #1454

Description

@yusuftomilola

Overview

backend/src/onboarding/onboarding.service.ts is the module's only file and is not registered. frontend/components/onboarding/ already exists.

Tasks

  • Add an OnboardingProgress entity tracking per-user step completion (profile, payment method, tour booked, first booking, docs signed).
  • Create module + controller: GET /onboarding/me (progress + next step), POST /onboarding/steps/:step/complete, POST /onboarding/skip.
  • Auto-create a progress row on user registration (hook into the existing auth flow).
  • Register OnboardingModule in app.module.ts.

Acceptance Criteria

  • New user registration creates an onboarding record.
  • GET /onboarding/me returns an accurate completion percentage and the next incomplete step.
  • Completing every step marks onboarding finished and stops prompting.

Notes for Contributors

Comment below to be assigned.

Metadata

Metadata

Assignees

Labels

NestJSStellar WaveIssues in the Stellar wave programbackendbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions