You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Product doc section 5.4 describes Group / Team Cards — a team or open source project creates a shared DevCard showing all members. Implement the backend API for team cards.
Summary
Product doc section 5.4 describes Group / Team Cards — a team or open source project creates a shared DevCard showing all members. Implement the backend API for team cards.
Tasks
Team:id,name,slug,description,avatarUrl,ownerId,createdAt.TeamMember:teamId,userId,role(owner/member),joinedAt.apps/backend/src/routes/teams.ts:POST /api/teams— create a team (authenticated).GET /api/teams/:slug— public team profile with member list (public).POST /api/teams/:slug/members— invite a member by username (owner only).DELETE /api/teams/:slug/members/:userId— remove member (owner only, or self-remove).PUT /api/teams/:slug— update team name, description, avatar (owner only).DELETE /api/teams/:slug— delete team (owner only).PlatformLink[]shape as individual public profiles.devcard.dev/team/:slug.apps/backend/src/app.ts.Acceptance Criteria
Difficulty
advanced— requires multi-role authorization design and relational schema with ownership semantics.