Skip to content

Files

Latest commit

5370431 · Dec 23, 2020

History

History
24 lines (18 loc) · 644 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 644 Bytes

entity_rest_apis_example

This is a sample that provides APIs for CRUD operations on table.

To Be Done:

  • Remodel POST, PUT calls to reuse the assets data structure used for GET.

  • Junits

  • Logging

  • Documentation/comments

  • Additional Instructions

Instructions to run:

Update the data base properties in application.properties.

gradle bootRun

swagger dcumentation can be accessed at:

http://localhost:8080/swagger-ui.html

Basic design info:

  • Controller->Service->JPA Repository->DB

  • Domain Object <-> Entity

  • Rest Return codes

  • Focus on relationships in DB and in entities.