Sorry for my English. I am interested in adding some new APIs and would appreciate guidance on how to achieve that. I remember previous documentation contained instructions on developing new APIs, however, it seems that the current ones do not.
Sorry for my English. I am interested in adding some new APIs and would appreciate guidance on how to achieve that. I remember previous documentation contained instructions on developing new APIs, however, it seems that the current ones do not.
For most api, the flow chart is very simple as follows.
router -> middleware -> controller(use schema) -> service -> repo(use entity)
If you want to develop a new API, you can follow the steps below.
I'll add this original section to the documentation. You can also continue to ask us if you have any questions during the development process. :)
Thanks very much
thank you for the reply.
but i can see the doc here???
https://meta.answer.dev/swagger/index.html
Sorry, I don't know much about Swagger, but I remember that Swagger is used for API testing, which means testing whether the interface functions are working properly. It does not require an API key. Before testing, Answer need be running.