Description:
Integrate Swagger (via swagger-ui-express and swagger-jsdoc) to document the backend API endpoints.
This will make it easier for contributors and external developers to understand, test, and consume the API.
Why this is needed:
- Provides clear and interactive API documentation
- Improves collaboration between backend and frontend contributors
- Helps maintain consistency and discoverability of endpoints
- Useful for future public API exposure or external integrations
Acceptance Criteria:
Description:
Integrate Swagger (via
swagger-ui-expressandswagger-jsdoc) to document the backend API endpoints.This will make it easier for contributors and external developers to understand, test, and consume the API.
Why this is needed:
Acceptance Criteria:
swagger-ui-express,swagger-jsdoc) installedswagger.jsor similar) created/api-docsendpointREADME.mdexplaining how to access and use the Swagger UI