All tasksIntermediate+200 XP2–3 hoursOpen
Add GET /api/skills with the most used skills
Show which skills the circle has. Add an endpoint that counts skills across members.
What you'll learn
Aggregate data in a pure function and test it in isolation.
Acceptance criteria
- `GET /api/skills` returns `{ skills: [{ name, count }] }` sorted by count, then name
- Skills are counted case-insensitively; the first spelling seen is shown
- The counting lives in a small pure function with its own unit tests
- `npm test` passes
Contribution rules
- Work on a branch named
task-16-… - Your PR description must include
Closes #16 - Open the PR from the GitHub account you signed in with
- A maintainer must approve and merge it