Team:
- Ching Cheng - Hats
- Cierra Reese - Shoes
The Shoe microservice allows for the creation, retrieval, and deletion of shoe models. These models contain information such as the shoe's name, manufacturer, model, picture, and color. The shoe model also includes a foreign key that refers to a bin. The bin info is pulled from the Wardrobe microservice. This allows for the organization and storage of shoes within bins within the wardrobe
The Hat model tracks each hat's fabric, style name, color, picture url, and location to the the specific closet where it is located. The LocationVO model and the poller works together to poll Location objects from the Location model from the Wardrobe microservice. Once the Hat microservice is able to connect with the Wardrobe microservice, then it will be possible to create a hat and specify which location each hat belongs to.
GET - gets a list of all the hats - http://localhost:8090/api/hats/ GET - gets the details of one hat - http://localhost:8090/api/hats/int:pk/ POST - create a new hat with the posted data - http://localhost:8090/api/hats/ DELETE - deletes a single hat - http://localhost:8090/api/hats/int:pk/