Write an API reference for the public endpoints
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- express, node.js, openapi, typescript
- Domain
- api, documentation
Research direction
Start at apps/api/src/routes/index.ts to enumerate the routes, then read packages/shared/src/index.ts for the Zod schema names and docs/LIMITS.md for rate limits. Create docs/API.md or openapi.yaml, grouped by area, and list method, path, auth requirement, request schema, responses and limits for each route. Done means every router entry appears or is explicitly excluded, examples use fake data, the README links the document, and npm run typecheck, npm test, npm run lint and npm run format pass.
Written by the indexing model from the issue text.
Description
Difficulty: Intermediate · Estimated size: 1 to 2 days
Context
The API has about 70 routes (apps/api/src/routes/index.ts), validated by Zod schemas in packages/shared. There is no reference, so integrators and contributors must read the code.
Problem or goal
Document the endpoints so people can use or test them without reading the source.
Suggested approach
- Create
docs/API.md(or anopenapi.yaml) grouped by area: auth, users, posts, comments, communities, messages, notifications, payments, admin. - For each route list the method, path, whether sign-in is required, the request body (link to the schema name), the main responses and the rate limits (see
docs/LIMITS.md). - If you choose OpenAPI, the document should validate with a standard linter. You may generate the schemas from the Zod ones, but only if it does not add heavy dependencies to the production build.
Where to look
apps/api/src/routes/index.tspackages/shared/src/index.tsdocs/LIMITS.md
Acceptance criteria
- Every route in the router appears in the document, or the PR says which are left out and why.
- Examples use fake data only.
- The document is linked from the README.
Out of scope
A hosted interactive API explorer.
How to work on it
- Comment here to claim it, so two people do not do the same work.
- Fork the repo and branch from
main(feat/short-nameorfix/short-name). Setup steps are in docs/DEVELOPMENT.md. - Keep the change focused and add tests for backend logic.
- Run
npm run typecheck,npm testandnpm run lintandnpm run formatbefore opening the pull request. - Use a Conventional Commits title (for example
feat(web): add bookmarks). More in CONTRIBUTING.md.
Stuck? Ask in this issue. Questions are welcome.
Generated by Claude Code
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 6
- Avg merge
- 1h 59m
- Merged PRs (30d)
- 59
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Haseeb-MernStack/commune
-
enhancement good first issue web
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Haseeb-MernStack/commune#141 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Haseeb-MernStack/commune#138 ·
Maintainers usually reply within 1 day
-
api good first issue tests
Difficulty 2/5 Half a day Newbie friendliness 72/100
Haseeb-MernStack/commune#132 ·
Maintainers usually reply within 1 day
-
ci good first issue tests
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Haseeb-MernStack/commune#133 ·
Maintainers usually reply within 1 day
-
accessibility good first issue web
Difficulty 2/5 Half a day Newbie friendliness 74/100
Haseeb-MernStack/commune#117 ·
Maintainers usually reply within 1 day
All issues in Haseeb-MernStack/commune
Similar issues
-
[UI] Guard webApis against undefined window in SSR environmentsPossibly taken @madhavzanwar claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
headroomlabs-ai/headroom#4992 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
paperclipai/paperclip#22575 ·
Maintainers usually reply within 1 day
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 82/100
lingdojo/kana-dojo#34502 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
bug frontend good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
nikhilb2/simple_invoicing#935 ·