Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the logic related to the Group entity #74

Open
krschan opened this issue Mar 18, 2025 · 0 comments
Open

Implement the logic related to the Group entity #74

krschan opened this issue Mar 18, 2025 · 0 comments
Assignees
Labels
⬅️BACKEND 📌features New feature or request. 🧠 logic Handles business rules, data processing, and internal logic. 🚨vital Essential task to enable progress on related issues.

Comments

@krschan
Copy link
Collaborator

krschan commented Mar 18, 2025

Develop API endpoints to allow users to create and manage groups.

Tasks:

  1. Create Group Entity and Repository

    • Define Group.java with fields: id, name, members.
    • Implement GroupRepository.java for group management.
  2. Create GroupController

    • Define the following API endpoints in GroupController.java:
      • POST /api/groups → Create a new group.
      • PUT /api/groups/{id}/add-member → Add a user to a group.
      • DELETE /api/groups/{id}/remove-member → Remove a user from a group.
  3. Implement GroupService

    • Create GroupService.java for handling group logic.
    • Ensure users cannot join the same group multiple times.
  4. Test Group API Endpoints

    • Write unit tests for GroupService.java.
    • Create integration tests for GroupController.java.
@krschan krschan added ⬅️BACKEND 📌features New feature or request. labels Mar 18, 2025
@krschan krschan moved this to Backlog in COPAY - Sprint 1 Mar 18, 2025
@Dynavy Dynavy self-assigned this Mar 25, 2025
@Dynavy Dynavy added 🚨vital Essential task to enable progress on related issues. 🧠 logic Handles business rules, data processing, and internal logic. labels Mar 25, 2025
@Dynavy Dynavy moved this from Backlog to In Progress in COPAY - Sprint 1 Mar 27, 2025
@Dynavy Dynavy changed the title Implement Group Management Implement the logic related to the Group entity Mar 27, 2025
poksyy added a commit that referenced this issue Mar 27, 2025
Dynavy added a commit that referenced this issue Apr 1, 2025
Update branch #74 with recent main changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⬅️BACKEND 📌features New feature or request. 🧠 logic Handles business rules, data processing, and internal logic. 🚨vital Essential task to enable progress on related issues.
Projects
Status: In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants