Problem
Learners have no way to request a vouch from
a specific mentor. The vouching flow is one-sided.
What To Build
Add POST /api/v1/vouching/request endpoint.
Requires JWT auth (learner wallet).
Body:
{
mentorAddress: string (valid Stellar address)
}
Creates a vouch request record in Supabase
vouch_requests table.
Sends notification to mentor (if push token exists).
Files To Touch
- src/modules/vouching/vouching.controller.ts
- src/modules/vouching/vouching.service.ts
- supabase/migrations/[timestamp]_vouch_requests.sql
Acceptance Criteria
Mandatory Checks Before PR
Problem
Learners have no way to request a vouch from
a specific mentor. The vouching flow is one-sided.
What To Build
Add POST /api/v1/vouching/request endpoint.
Requires JWT auth (learner wallet).
Body:
{
mentorAddress: string (valid Stellar address)
}
Creates a vouch request record in Supabase
vouch_requests table.
Sends notification to mentor (if push token exists).
Files To Touch
Acceptance Criteria
Mandatory Checks Before PR