This PR implements the user API controller to handle HTTP requests related to user operations. It also adds necessary modifications to other classes and properties to support the user API functionality.
Summary of Changes
Added a new controller class UserController in DemoApplication.java to handle user API requests.
Created a new method performUserOperation in MyBean.java to interact with the user DAO layer.
Added fields representing user data in MyPojo.java for data validation and mapping.
Added properties for the user API in MyProperties.java.
Configured necessary properties for the user API in application.properties.
Fixes #11.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/implement-user-api-controller
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR implements the user API controller to handle HTTP requests related to user operations. It also adds necessary modifications to other classes and properties to support the user API functionality.
Summary of Changes
UserController
inDemoApplication.java
to handle user API requests.performUserOperation
inMyBean.java
to interact with the user DAO layer.MyPojo.java
for data validation and mapping.MyProperties.java
.application.properties
.Fixes #11.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.