-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
Aurora's getUser endpoint requires apptoken which is not available. Build local implementation using synced data.
Scope
- Aggregate user stats from local
{board}_ascentstable - Display username, logbook count, ascent stats from synced data
- Show public circuits from
{board}_circuitstable - Create UI at
/[board]/profile/[userId]
Files Involved
packages/web/app/lib/api-wrappers/aurora/user/getUser.ts(deprecated)- New:
packages/web/app/api/internal/profile/[userId]/route.ts - New:
packages/web/app/[board]/profile/[userId]/page.tsx
Technical Details
- User data already synced via
syncUserDatato{board}_userstable - Ascent stats can be calculated from local
{board}_ascentstable - Circuits already synced to
{board}_circuitstable
Related
- Part of Aurora API cleanup (all endpoints now require apptoken except sync)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request