standard /api URL?
carkod opened this issue · 1 comments
carkod commented
It is quite common to use /api for the standard URL. So that we can release different versions, e.g. /api/v1/endpoint, /api/v2... and then endpoints could have subendpoints and inside directories you would have other endpoints that belong to that parent endpoint, e.g. /api/v2/parent-endpoint/child-endpoint.
I know there are workarounds for this, should we add it to router.get()
? Or will you consider adding this by default using the Yeoman generator?