/spring-rest-api

learning about spring rest api

Primary LanguageJava

SpringData DynamoDB Sample REST API

Requirements

Commands

  • mvn test to run Junit tests
  • mvn clean spring-boot:run to launch the app at localhost:8000

Endpoints

  • /save - will populate the DynamoDB with example entities
  • /delete - will clear example entities
  • /customer - retrieve all example entities as JSON
  • /customer/id - get a single record by id
  • /findbyfirstname?firstname=:firstname - get a collection of all entities by name

Reference