You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where api/user/api.js is the current api/user/user.router.js. I think it still makes sense while gives a better tree (since api comes alphabetically first).
The api/index.js file is the current routes.js file.
Also, this makes easier to change the endpoint names as one no longer needs to update the name of each file.
It should look more like:
Where
api/user/api.js
is the currentapi/user/user.router.js
. I think it still makes sense while gives a better tree (sinceapi
comes alphabetically first).The
api/index.js
file is the currentroutes.js
file.Also, this makes easier to change the endpoint names as one no longer needs to update the name of each file.
The
api/user/index.js
file should look like:The text was updated successfully, but these errors were encountered: