Comprehensive, interactive documentation at docs.mosque.api: getting started, Try it (live requests), full API reference (OpenAPI/Swagger), Examples (cURL, JavaScript, Python), authentication, errors, and pagination.
Doc toolbar (every doc page): Copy markdown, Ask AI (copy prompt), Ask Claude (copy + open claude.ai), Ask OpenAI (copy + open chat.openai.com). Use HTTPS in production so clipboard and links work.
npm install
npm run devOpen http://localhost:3002. Run the API on port 3001 so Try it and the API Reference (OpenAPI) can load the spec from NEXT_PUBLIC_OPENAPI_URL (default http://localhost:3001/openapi.json) and send requests to NEXT_PUBLIC_API_URL (default http://localhost:3001).
| Variable | Description |
|---|---|
NEXT_PUBLIC_OPENAPI_URL |
OpenAPI JSON URL (default http://localhost:3001/openapi.json) |
NEXT_PUBLIC_API_URL |
API base URL for Try it (default http://localhost:3001) |