The frontend developers need to know how to use the API endpoints that are created, most importantly how the request must be formatted and how the response will be formatted. This is important to document so frontend devs do not have to look through backend code to understand how to use it, as well as avoiding unnecessary questions down the line.
Along with route documentation, we should include a README.md of how to develop and run the backend. See the frontend folder for an example.
The frontend developers need to know how to use the API endpoints that are created, most importantly how the request must be formatted and how the response will be formatted. This is important to document so frontend devs do not have to look through backend code to understand how to use it, as well as avoiding unnecessary questions down the line.
Along with route documentation, we should include a README.md of how to develop and run the backend. See the frontend folder for an example.
How to create documentation for the
djangorestframework
package: https://www.django-rest-framework.org/topics/documenting-your-api/#generating-documentation-from-openapi-schemas