đŸ‘Ĩ Social Features

Connect, Compete, Conquer Together!

0
Active Clans
0
Clan Members
0
Friendships
0
Largest Clan

đŸ›Ąī¸ Clan System

Loading clans...

đŸ‘Ģ Friends System

âœ‰ī¸
Friend Requests
Send and receive friend requests. Accept or decline incoming requests.
📋
Friends List
View all your friends, see online status, and manage connections.
🎮
Friend Challenges
Challenge friends to 1v1 matches and track your win/loss record.
🏆
Friend Leaderboards
Compete with friends on exclusive leaderboards and rankings.

✨ Social Features

đŸ›Ąī¸
Clan Creation
Create your own clan with custom name, description, and settings. Recruit up to 50 members.
👑
Clan Hierarchy
Leader, Officer, and Member roles. Promote/demote members with proper permissions.
📊
Clan Rankings
Clans ranked by total ELO, wins, and tournament victories. Compete globally!
💌
Clan Invites
Invite system with accept/decline functionality. Track pending invitations.
đŸšĒ
Join/Leave Clans
Easy clan joining and leaving. Automatic role assignment and cleanup.
🔍
Clan Discovery
Browse and search all active clans. Filter by size, activity, and ranking.

🔌 Social API Endpoints

Complete RESTful API for social features (16 endpoints)

Clan Endpoints

POST http://localhost:8006/clans

Create a new clan (automatically become leader)

GET http://localhost:8006/clans

List all clans with filtering options

GET http://localhost:8006/clans/rankings

Get clan rankings (sorted by total ELO)

GET http://localhost:8006/clans/{id}

Get detailed clan information

PUT http://localhost:8006/clans/{id}

Update clan details (leader/officer only)

POST http://localhost:8006/clans/{id}/join

Join a clan (public clans only)

DELETE http://localhost:8006/clans/{id}/leave

Leave your current clan

POST http://localhost:8006/clans/{id}/invite

Invite a user to your clan

GET http://localhost:8006/clans/{id}/members

List all clan members with roles

POST http://localhost:8006/clans/{id}/members/{user_id}/promote

Promote/demote clan members (leader only)

GET http://localhost:8006/users/me/clan

Get your current clan information

Friend Endpoints

POST http://localhost:8006/friends/request

Send a friend request

PUT http://localhost:8006/friends/{id}/accept

Accept a friend request

DELETE http://localhost:8006/friends/{id}

Remove a friend or decline request

GET http://localhost:8006/friends

List all friends and pending requests

🔗 Service Links

📚 API Documentation â¤ī¸ Health Check đŸ›Ąī¸ View Clans (JSON)