Open WatariClaud opened 3 years ago
Provide recommendations for folder structuring of the backend
Consider moving your middleware logic to a different folder, eg, middleware or controllers, and just import it in routes
Eg: route.post('/createuser', myMiddlewareFunction,createUserMethod);
what does this issue do?
Provide recommendations for folder structuring of the backend
More information
Consider moving your middleware logic to a different folder, eg, middleware or controllers, and just import it in routes
Eg: route.post('/createuser', myMiddlewareFunction,createUserMethod);