Wire follow/unfollow endpoints into router #7

Open
opened 2026-03-17 16:13:05 +00:00 by grenade · 0 comments
Owner

Current state

Follow/unfollow handler stubs exist but are not registered in the Axum router.

Work required

  • Confirm user_follows table migration exists (or add it)
  • Register POST /users/:username/follow and DELETE /users/:username/follow in router
  • Ensure handlers return correct follower/following counts in UserResponse
  • Frontend: follow button on public profile pages
## Current state Follow/unfollow handler stubs exist but are not registered in the Axum router. ## Work required - Confirm `user_follows` table migration exists (or add it) - Register `POST /users/:username/follow` and `DELETE /users/:username/follow` in router - Ensure handlers return correct follower/following counts in `UserResponse` - Frontend: follow button on public profile pages
grenade added this to the User Profile & Social milestone 2026-03-17 16:13:05 +00:00
grenade added this to the strategies gamified project 2026-03-17 16:25:10 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: swym/swym#7