Skip to content
/ User-API Public template

User API integrated with MicroServices

Notifications You must be signed in to change notification settings

sriramede9/User-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USER - RESTfull API

HTTP - Methods with User Sample Data

User Module -> id,name,dob

validating name [size min 3 and dob of past value] and Exception Handling using ResponseEntityExceptionHandling

HATEOAS --> when requested by id will give links-> "all-Users"

Jackson-data-format-xml for accepting JSON,XML using Accept header

Used ORM Tech to embedd with MySql Database

Important addings

ServletUriComponentsBuilder,ResponseEntity

ResponseEntityExceptionHandler @ControllerAdvice

Validation @Valid @Size @NoTBlank REEH methoOverride

HATEOAS RESOURCE,CONTROLLERLINKBUILDER,LINK

XML<=> JSON with maven dependence and request header with Accept=application/xml,application/json,@XMLRootElement

@EnableSwagger2 ,Docket,@ApiModel,@ApiModelParam

@Entity,@Id,@Generated

Libraries

  • WEB
  • Actuator
  • Devtools
  • HATEOAS
  • jackson-dataformat-xml
  • Swagger from Springfox
  • Spring-boot-starter-data-jpa
  • mysql-connector-jpa

Images

About

User API integrated with MicroServices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages