Open
Conversation
Add LoginDTO for login API add CreateUserDto as request body add ResponseCreateUser as response when /api/users is call Add method to process login and create user in UserService and interface IUser
Add service to process update data user
…thods to the Same Controller Method
Refactored method for update Add new method for delete
Revise method createuser in UserService Add new properties in User model
Add method in controller to get all user data with paging and delayed Add method in controller and service toget single user and all user
Add Dto to get list all Resouce ListAllResourceDto Add model Resource Add ResourceController Add ResourceService Add method to get all user with delayed
Separate return type of single user with class GetSingleData and static method to return response entity
For the Spring boot test it reach until rest of update user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I just finish to create a backend with Spring boot + Java 8. All of API similarity to what mention in the instructions:
List of User API
Please run this project with command: ./mvnw spring-boot:run
All of the request tested already by Postman and I have test also by dockerizing in my local machine with command : mvn -spring-boot:build-image