clubgamma / club-gamma-backend

This is the official repo for club gamma hacktoberfest backend server.
https://clubgamma.vercel.app
MIT License
0 stars 13 forks source link

Create API Endpoint to Fetch Project Contributors #15

Open jalaym825 opened 2 days ago

jalaym825 commented 2 days ago

We need to implement an API endpoint that retrieves a list of contributors for the Club Gamma project from our database. This will help us showcase all individuals who have contributed to the project without fetching data directly from GitHub.

Requirements

Implementation Steps

  1. Set up a new route for the /api/projects/contributors/:id endpoint in the backend.
  2. Use Prisma to fetch contributors from the pullRequests table.
  3. Aggregate the points for each contributor and format the response to include the necessary details.
  4. Return the data in a structured format (e.g., JSON) to the frontend.

Additional Notes

Acceptance Criteria

opbot-xd commented 2 days ago

I am interested in solving this issue. Can you assign it to me?

jalaym825 commented 2 days ago

I am interested in solving this issue. Can you assign it to me?

Hey, done! You can work on this issue now.

jalaym825 commented 1 day ago

@opbot-xd any updates?

opbot-xd commented 1 day ago

yes, just working on it... will complete it by tonight.