Skip to content

Conversation

@i4ba1
Copy link

@i4ba1 i4ba1 commented Oct 10, 2020

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

  • Register /api/register
  • Login /api/login
  • Create New User /api/users
  • Update New User /api/users/{id}
  • Delete User /api/users/{id}
  • Get Single User /api/users/{id}
  • Get All User /api/users/
  • Get Single Resource /api/unknown/{id}
  • Get All Resources /api/unknown/{page}

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

IQBAL and others added 13 commits October 6, 2020 09:51
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants