Write an API reference for the public endpoints
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- express, node.js, openapi, typescript
- Ambito
- api, documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 6
- Fork
- 6
- Merge medio
- 1h 59m
- PR unite (30g)
- 59
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Haseeb-MernStack/commune
-
enhancement good first issue web
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Haseeb-MernStack/commune#141 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Haseeb-MernStack/commune#138 ·
I maintainer di solito rispondono entro 1 giorno
-
api good first issue tests
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
Haseeb-MernStack/commune#132 ·
I maintainer di solito rispondono entro 1 giorno
-
ci good first issue tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Haseeb-MernStack/commune#133 ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility good first issue web
Difficoltà 2/5 Mezza giornata Idoneità per principianti 74/100
Haseeb-MernStack/commune#117 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Haseeb-MernStack/commune
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
agent-canvas bug oh-gpt-fleet priority:medium ready-for-dev UI/UX
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue javascript test
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
writerslogic/scrivener-mcp#272 ·
I maintainer di solito rispondono entro 1 giorno
-
bug triaged tui ux wontfix
Difficoltà 2/5 Mezza giornata Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno