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

Org + Contributor backend pt. 1 #70

Open
DiegolMarques opened this issue Nov 14, 2024 · 0 comments
Open

Org + Contributor backend pt. 1 #70

DiegolMarques opened this issue Nov 14, 2024 · 0 comments
Assignees

Comments

@DiegolMarques
Copy link
Collaborator

DiegolMarques commented Nov 14, 2024

Branch name: org-contributor-relations

Task at Hand

  1. Update controllers with relation handling:
    • Add to controllers/organizations.ts:
      • getOrganizationContributors
      • addContributorToOrganization
    • Add to controllers/contributors.ts:
      • getContributorOrganizations
  2. Add corresponding routes:
    • GET /organizations/:id/contributors
    • POST /organizations/:id/contributors
    • GET /contributors/:id/organizations

Testing

Create test suite on the test folder. Use backend test for reference.

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

No branches or pull requests

3 participants