Skip to content

Feature/friendship system#494

Open
xXPinkmagicXx wants to merge 10 commits intogamificationfrom
feature/friendship-system
Open

Feature/friendship system#494
xXPinkmagicXx wants to merge 10 commits intogamificationfrom
feature/friendship-system

Conversation

@xXPinkmagicXx
Copy link
Member

@xXPinkmagicXx xXPinkmagicXx commented Feb 26, 2026

Added following for Add friendship System Issue

  • migration script for friendship system
  • Endpoints for manipulating friendships

Endpoints in api/endpoints/friends

  • "/get_friends/<user_id>" - get all friends for a user
  • "/get_friend_requests/<user_id>" - get all friend request for a user
  • "/send_friend_request": Created a new row in the friend_requests table
  • "/delete_friend_request" - delete the send friend request in friend_request table
  • "/accept_friend_request" - accept friend_request and create new row in friends table
  • "/unfriend" - delete friendship, the row in the friends table

@github-actions
Copy link

github-actions bot commented Feb 26, 2026

ArchLens detected architectural changes in the following views:
diff
diff

@xXPinkmagicXx
Copy link
Member Author

Remember to add @requires_session for all the endpoints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant