Skip to content

leoykelly/measurementConversionAPI

Repository files navigation

measurementConversionAPI

Team project - REST API development

  • Helpful link that explains basic branching and merging Git Branching

Pitch

Do you ever have your hands full in the kitchen and suddenly need to know how many tablespoons are in one cup of butter? Or how many cups of milk are in a gallon? Then this is the API for you! Add it to your existing recipe blog site for the convenience your users or include it in your own micro app for your smartphone. Our handy service is perfect for the chef in your home.

Problem Statement

This service will accept a numeric value and two unit types from the user representing an existing unit quantity and the desired unit. It will convert the existing unit quantity and return the value of the chosen unit quantity.

Example -> User input = "8 tablespoons to cups", service returns ".5 cups" Conversion Resource

Project Goal:

This API will enable third-party developers to build applications, which will consume results of this API.

Technology/Techniques

  • Database - MySql
    • Table for common cooking unit types
  • API
    • Endpoint 1 - returns all Unit types (from table)
    • Endpoint 2 - requires 3 parameters (quantity, existing unit type, desired unit type) - returns new quantity
  • Logging
    • Log4J
  • Unit Testing
    • Junit
  • DB CRUD
    • Hibernate
  • Return formats
    • JSON

Design

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published