-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backend code review - RestCon #19
Comments
Hi Tomas I have create the AppController like test for the for jsp pages the integration with your frontend is in the RestCon class were |
This needs to be refactored to follow obvious CRUD mapping into http methods POST (or PUT with new id), GET, PUT, DELETE. In order to prevent kitchen sink antipattern, I'd recommend to extract controller methods related to userService, projectService into separated classes. Therefore I recommend these changes:
These points for discussion:
|
RestCon is for REST api, AppController is for JSP UI. |
The class org.cirmmp.spring.controller.RestCon overlaps with functionality at AppController. I recommend to follow the same recomendation as in AppController - extract the user, project, dataset into separated controllers.
The text was updated successfully, but these errors were encountered: